aboutsummaryrefslogtreecommitdiff
path: root/net/proxy-suite/Makefile
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2010-09-15 18:35:24 +0000
committerAde Lovett <ade@FreeBSD.org>2010-09-15 18:35:24 +0000
commit8262a7b51d413e11ef8f67c56e862ebbc6f182de (patch)
tree1e9812bc2638933184cae2b226809eb69253bb9f /net/proxy-suite/Makefile
parentbe8126109fa13097c8a0f9337fa9dfb68cf5d4c2 (diff)
downloadports-8262a7b51d413e11ef8f67c56e862ebbc6f182de.tar.gz
ports-8262a7b51d413e11ef8f67c56e862ebbc6f182de.zip
Notes
Diffstat (limited to 'net/proxy-suite/Makefile')
-rw-r--r--net/proxy-suite/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/net/proxy-suite/Makefile b/net/proxy-suite/Makefile
index 467745adcb82..908cc0c953e6 100644
--- a/net/proxy-suite/Makefile
+++ b/net/proxy-suite/Makefile
@@ -7,7 +7,7 @@
PORTNAME= proxy-suite
PORTVERSION= 1.9.2.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= ftp://ftp.suse.com/pub/projects/proxy-suite/src/ \
ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/projects/proxy-suite/src/ \
@@ -16,7 +16,7 @@ MASTER_SITES= ftp://ftp.suse.com/pub/projects/proxy-suite/src/ \
MAINTAINER= thomas@cuivre.fr.eu.org
COMMENT= The SuSE Proxy-Suite, a set of programs to enhance firewall security
-USE_AUTOTOOLS= autoconf:262
+USE_AUTOTOOLS= autoconf:267
USE_GMAKE= yes
USE_BZIP2= yes
@@ -61,6 +61,15 @@ SUB_FILES= pkg-message
.include <bsd.port.pre.mk>
+# XXX: newer autoconf's rely on the compiler result, not the preprocessor
+# for checking headers, so the configure.in needs to be fixed upstream
+# to properly include dependencies
+post-configure:
+ @${ECHO} "#define HAVE_NET_IF_H 1" >> ${WRKSRC}/config.h
+ @${ECHO} "#define HAVE_NETINET_IP_H 1" >> ${WRKSRC}/config.h
+ @${ECHO} "#define HAVE_NETINET_IP_FIL_H 1" >> ${WRKSRC}/config.h
+ @${ECHO} "#define HAVE_NETINET_IP_NAT_H 1" >> ${WRKSRC}/config.h
+
pre-install:
@${STRIP_CMD} ${WRKSRC}/ftp-proxy/ftp-proxy