diff options
author | Jean-Marc Zucconi <jmz@FreeBSD.org> | 2000-07-02 22:45:55 +0000 |
---|---|---|
committer | Jean-Marc Zucconi <jmz@FreeBSD.org> | 2000-07-02 22:45:55 +0000 |
commit | c2310184f9944c27a15418718467b3145c0bb660 (patch) | |
tree | c9df48ed99ba5faf23363f673baad17454d9eed5 /print/dviselect | |
parent | Port has been broken since 12/96..goodbye :-) (diff) |
Correct a mistake when I modified the port last week. Changes were relative
to the wrong distfile (there are 2 or 3 different versions of dviselect, but
the differences are essentially cosmetic)
Diffstat (limited to 'print/dviselect')
-rw-r--r-- | print/dviselect/Makefile | 2 | ||||
-rw-r--r-- | print/dviselect/distinfo | 2 | ||||
-rw-r--r-- | print/dviselect/files/patch-aa | 13 | ||||
-rw-r--r-- | print/dviselect/files/patch-ac | 6 | ||||
-rw-r--r-- | print/dviselect/scripts/configure | 4 |
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; |