summaryrefslogtreecommitdiffstats
path: root/textproc/glimpse
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-10-20 11:31:15 +0000
committerdes <des@FreeBSD.org>2003-10-20 11:31:15 +0000
commit93ff005aef09db5c268ddcd54aeec9309344b4b3 (patch)
treec7c28e81229357ef594654fbaefad7eb7dc4884a /textproc/glimpse
parent4323c28ea331b99fde4a3f1ac0b5d5b0702dd08c (diff)
downloadFreeBSD-ports-93ff005aef09db5c268ddcd54aeec9309344b4b3.zip
FreeBSD-ports-93ff005aef09db5c268ddcd54aeec9309344b4b3.tar.gz
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.
Diffstat (limited to 'textproc/glimpse')
-rw-r--r--textproc/glimpse/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/textproc/glimpse/Makefile b/textproc/glimpse/Makefile
index 808dde0..3e9c825 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>
OpenPOWER on IntegriCloud