aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2007-10-25 11:25:52 +0800
committerlinimon <linimon@FreeBSD.org>2007-10-25 11:25:52 +0800
commit0734a506206a1f643790d0818c2be96c62b66d5c (patch)
tree85e0992abf89d6a36e11f3ac11b9b8910989e440
parent4da0fc22240ec09cf6e3397f1283449640328888 (diff)
downloadfreebsd-ports-gnome-0734a506206a1f643790d0818c2be96c62b66d5c.tar.gz
freebsd-ports-gnome-0734a506206a1f643790d0818c2be96c62b66d5c.tar.zst
freebsd-ports-gnome-0734a506206a1f643790d0818c2be96c62b66d5c.zip
Unmark broken on amd64 and sparc64, except -7. While here, portlint a bit.
PR: ports/116759 Submitted by: Josh Carroll <josh dot carroll at gmail dot com> Approved by: maintainer timeout
-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)