aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/xmps
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-03-13 18:04:53 +0800
committerkris <kris@FreeBSD.org>2004-03-13 18:04:53 +0800
commitff71a3ac1d62ddc4ef80f3e0190b3fa46e780e45 (patch)
treed81e7d6fc1146a5f022520d188747fb1f63d261b /multimedia/xmps
parentf7ce7fb747a1872de391acce1508e3d6f776e443 (diff)
downloadfreebsd-ports-gnome-ff71a3ac1d62ddc4ef80f3e0190b3fa46e780e45.tar.gz
freebsd-ports-gnome-ff71a3ac1d62ddc4ef80f3e0190b3fa46e780e45.tar.zst
freebsd-ports-gnome-ff71a3ac1d62ddc4ef80f3e0190b3fa46e780e45.zip
BROKEN on !i386: Does not compile
Diffstat (limited to 'multimedia/xmps')
-rw-r--r--multimedia/xmps/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/multimedia/xmps/Makefile b/multimedia/xmps/Makefile
index c4c5d7253881..2318ddaef72b 100644
--- a/multimedia/xmps/Makefile
+++ b/multimedia/xmps/Makefile
@@ -25,6 +25,12 @@ USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386"
+BROKEN= "Does not compile on !i386"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
@@ -34,4 +40,4 @@ post-configure:
@${REINPLACE_CMD} -e 's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \
${WRKSRC}/libtool
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>