summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print/dviselect/Makefile2
-rw-r--r--print/dviselect/distinfo2
-rw-r--r--print/dviselect/files/patch-aa13
-rw-r--r--print/dviselect/files/patch-ac6
-rw-r--r--print/dviselect/scripts/configure4
5 files changed, 13 insertions, 14 deletions
diff --git a/print/dviselect/Makefile b/print/dviselect/Makefile
index 5e91d53750f5..5dc5be02d36e 100644
--- a/print/dviselect/Makefile
+++ b/print/dviselect/Makefile
@@ -15,8 +15,6 @@ MAINTAINER= jmz@FreeBSD.org
SCRIPTS_ENV= CFLAGS="${CFLAGS}"
-USE_GMAKE= yes
-
MAN1= dviselect.1
diff --git a/print/dviselect/distinfo b/print/dviselect/distinfo
index 8502cc8bb1ae..3a065604ef66 100644
--- a/print/dviselect/distinfo
+++ b/print/dviselect/distinfo
@@ -1 +1 @@
-MD5 (dviselect.tar.gz) = a6877bf33e421298674d8269ee9bbc2c
+MD5 (dviselect.tar.gz) = 38b26a180e2eca53f5d314f5ec43690e
diff --git a/print/dviselect/files/patch-aa b/print/dviselect/files/patch-aa
index 769c72ad7541..46cd859599ff 100644
--- a/print/dviselect/files/patch-aa
+++ b/print/dviselect/files/patch-aa
@@ -1,11 +1,10 @@
---- dviselect.c~ Thu Mar 14 21:53:21 1991
-+++ dviselect.c Tue Aug 19 18:39:09 1997
-@@ -124,8 +124,6 @@
+--- dviselect.c~ Wed Nov 15 13:19:15 1989
++++ dviselect.c Mon Jul 3 00:38:25 2000
+@@ -122,7 +122,6 @@
+ /* save some string space: we use this a lot */
+ char writeerr[] = "error writing DVI file";
- #ifdef _AIX
- char *malloc(), *realloc();
--#else
-char *malloc(), *realloc(), *sprintf();
- #endif
/*
+ * lint gets rather confused with the current definitions of getc and putc,
diff --git a/print/dviselect/files/patch-ac b/print/dviselect/files/patch-ac
index 1a4e3d34242f..610e850e63ef 100644
--- a/print/dviselect/files/patch-ac
+++ b/print/dviselect/files/patch-ac
@@ -1,10 +1,10 @@
---- lib/font.c~ Thu Mar 14 21:57:06 1991
-+++ lib/font.c Tue Aug 19 18:43:47 1997
+--- lib/font.c~ Wed Nov 15 13:19:43 1989
++++ lib/font.c Mon Jul 3 00:39:32 2000
@@ -67,9 +67,6 @@
*/
extern int errno;
char *getenv(), *malloc(), *strsave();
--#if !(defined(sys5) || defined(_AIX))
+-#ifndef sys5
-char *sprintf();
-#endif
diff --git a/print/dviselect/scripts/configure b/print/dviselect/scripts/configure
index ac2e807e0a40..73c55c505c4c 100644
--- a/print/dviselect/scripts/configure
+++ b/print/dviselect/scripts/configure
@@ -1,6 +1,8 @@
#!/bin/sh
-PREFIX=${PREFIX:-/usr/local}
+cd $WRKSRC
+mv Makefile Makefile~
+sed -e /DELETE/q <Makefile~ >Makefile
echo "BINDIR = $PREFIX/bin" >> $WRKSRC/Makefile || exit 1;
echo "MANDIR = $PREFIX/man" >> $WRKSRC/Makefile || exit 1;