aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2010-08-15 07:49:45 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2010-08-15 07:49:45 +0000
commitb03003a3cce7323021366d7c7136b06e6b1e0ab1 (patch)
tree37a3e992c48e1c53ee262b2562a8cfbe4660700c
parent83e713d9cd4a5c7ce137ddd23217b4416df0c07c (diff)
downloadports-b03003a3cce7323021366d7c7136b06e6b1e0ab1.tar.gz
ports-b03003a3cce7323021366d7c7136b06e6b1e0ab1.zip
Notes
-rw-r--r--net/nxproxy/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/net/nxproxy/Makefile b/net/nxproxy/Makefile
index 2dd792001dc3..9119fef9f4ce 100644
--- a/net/nxproxy/Makefile
+++ b/net/nxproxy/Makefile
@@ -27,10 +27,6 @@ PLIST_FILES= bin/nxproxy
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 700000
-BROKEN= does not compile on 6.X
-.endif
-
post-extract:
${LN} -sf ${WRKDIR}/nxcomp-${DISTVERSION:S/2/1/} ${WRKDIR}/nxcomp
@@ -39,6 +35,9 @@ post-patch:
${WRKDIR}/nxcomp/configure
${REINPLACE_CMD} -e "s,-lXcomp, -L${PREFIX}/lib -lpng -ljpeg ../nxcomp/libXcomp.a," \
${WRKSRC}/configure
+.if ${OSVERSION} < 700000
+ ${REINPLACE_CMD} -e "s,result = unsetenv,unsetenv," ${WRKDIR}/nxcomp/Children.cpp
+.endif
pre-configure:
cd ${WRKDIR}/nxcomp; ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS};