aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-04-04 00:27:33 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-04-04 00:27:33 +0000
commite2b8201d4a3a7031c4b1d5ab394f0321037faca1 (patch)
tree04bfac32252f3a97a53fcdc1a663bf822c934c2b /devel
parent56963240367edf0dcddb89e742befe83dccf7ab5 (diff)
downloadports-e2b8201d4a3a7031c4b1d5ab394f0321037faca1.tar.gz
ports-e2b8201d4a3a7031c4b1d5ab394f0321037faca1.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/spirit/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/devel/spirit/Makefile b/devel/spirit/Makefile
index a93ce2a66c10..b4919de1626b 100644
--- a/devel/spirit/Makefile
+++ b/devel/spirit/Makefile
@@ -27,10 +27,18 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --enable-spirit-threadsafe
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64"
+IGNORE= does not build: cc1plus hangs forever (gcc bug)
+.elif ${ARCH} != "i386" && ${ARCH} != "alpha"
+BROKEN= "Internal compiler error during build on !i386 and !alpha"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} \
${GREP} -lR "^htmldir" | ${XARGS} ${REINPLACE_CMD} \
-e "s@libs/@share/doc/spirit/@"
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>