aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2010-08-15 15:49:45 +0800
committerarved <arved@FreeBSD.org>2010-08-15 15:49:45 +0800
commitb9ed14444f7921849c1b7b87615f24ad238f989c (patch)
treeda7fe474bb35c95fba8a3f6595bb2126516177b5 /net
parentb298662fd31de3cab477274091106f856ddb9e0c (diff)
downloadfreebsd-ports-gnome-b9ed14444f7921849c1b7b87615f24ad238f989c.tar.gz
freebsd-ports-gnome-b9ed14444f7921849c1b7b87615f24ad238f989c.tar.zst
freebsd-ports-gnome-b9ed14444f7921849c1b7b87615f24ad238f989c.zip
Unbreak on 6.x
Diffstat (limited to 'net')
-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};