diff options
author | des <des@FreeBSD.org> | 2003-10-20 19:31:15 +0800 |
---|---|---|
committer | des <des@FreeBSD.org> | 2003-10-20 19:31:15 +0800 |
commit | 93ff005aef09db5c268ddcd54aeec9309344b4b3 (patch) | |
tree | c7c28e81229357ef594654fbaefad7eb7dc4884a | |
parent | 4323c28ea331b99fde4a3f1ac0b5d5b0702dd08c (diff) | |
download | freebsd-ports-gnome-93ff005aef09db5c268ddcd54aeec9309344b4b3.tar.gz freebsd-ports-gnome-93ff005aef09db5c268ddcd54aeec9309344b4b3.tar.zst freebsd-ports-gnome-93ff005aef09db5c268ddcd54aeec9309344b4b3.zip |
Define __STRICT_ANSI__ when compiling glimpse so it will use <stdarg.h>
instead of <varargs.h>. Note that this is a workaround, not a fix; the
correct fix would be to excise all mention of <varargs.h> from the code.
-rw-r--r-- | textproc/glimpse/Makefile | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/textproc/glimpse/Makefile b/textproc/glimpse/Makefile index 808dde051011..3e9c825e08dd 100644 --- a/textproc/glimpse/Makefile +++ b/textproc/glimpse/Makefile @@ -16,15 +16,9 @@ COMMENT= Text search engine NO_CDROM= "Restrictive copyright (don't sell for profit)" GNU_CONFIGURE= yes -CONFIGURE_ENV= CFLAGS="${CFLAGS} -DISO_CHAR_SET=1" +CONFIGURE_ENV= CFLAGS="${CFLAGS} -DISO_CHAR_SET=1 -D__STRICT_ANSI__" MAN1= glimpse.1 glimpseindex.1 glimpseserver.1 agrep.1 -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 501000 -BROKEN= "Does not compile" -.endif - pre-configure: ${RM} ${WRKSRC}/config.cache ${CHMOD} ugo+x ${WRKSRC}/configure @@ -35,4 +29,4 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/glimpse ${INSTALL_PROGRAM} ${WRKSRC}/index/wgconvert ${PREFIX}/bin -.include <bsd.port.post.mk> +.include <bsd.port.mk> |