aboutsummaryrefslogtreecommitdiff
path: root/multimedia/xmps
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-03-13 10:04:53 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-03-13 10:04:53 +0000
commite0873e1d9b5cb8fae03cb3219ca474e0da4fd594 (patch)
treecbd397d9abf689c73dcc9c2b43f534c76c61bd3b /multimedia/xmps
parente8ad5c106ae7d602997d3a20a42fc7a0507a7328 (diff)
downloadports-e0873e1d9b5cb8fae03cb3219ca474e0da4fd594.tar.gz
ports-e0873e1d9b5cb8fae03cb3219ca474e0da4fd594.zip
Notes
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>