aboutsummaryrefslogtreecommitdiff
path: root/devel/upnp
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2007-10-25 03:25:52 +0000
committerMark Linimon <linimon@FreeBSD.org>2007-10-25 03:25:52 +0000
commitf90d2e321c50c2dd2f60444dce277ffee906694e (patch)
tree52d02077b575dec5ab8dbdd8ca202b8ea22a1540 /devel/upnp
parentf8b0f587a92f74d33735998d667b7d8b8e4fdc3c (diff)
Notes
Diffstat (limited to 'devel/upnp')
-rw-r--r--devel/upnp/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/devel/upnp/Makefile b/devel/upnp/Makefile
index b6d85a725e3a..adf76e7ba2d2 100644
--- a/devel/upnp/Makefile
+++ b/devel/upnp/Makefile
@@ -18,15 +18,20 @@ COMMENT= Universal Plug and Play Software Development Kit
CONFLICTS= upnp-1.0.*
USE_BZIP2= yes
-
-.include <bsd.port.pre.mk>
-
USE_AUTOTOOLS= libtool:15
-NOT_FOR_ARCHS= amd64 sparc64
GNU_CONFIGURE= yes
USE_DOS2UNIX= yes
-MAKE_ENV= PTHREAD_LIBS=${PTHREAD_LIBS}
USE_LDCONFIG= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+.if ${ARCH} == "amd64" || ${ARCH} == "sparc64"
+BROKEN= Does not compile with GCC 4.2
+.endif
+.endif
+
+MAKE_ENV= PTHREAD_LIBS=${PTHREAD_LIBS}
CONFIGURE_ENV+= LIBS="-llwres -lcompat"
.if defined(NOPORTDOCS)