aboutsummaryrefslogtreecommitdiffstats
path: root/devel/spirit
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-04-04 08:27:33 +0800
committerkris <kris@FreeBSD.org>2004-04-04 08:27:33 +0800
commit2d07233fca9a4b3301f7259b8d4790d1d9831e98 (patch)
tree10f6553cfe41075945619c910804d6d47d79f40f /devel/spirit
parent025287cfcbaabf6e17eb2a921906d80578712225 (diff)
downloadfreebsd-ports-gnome-2d07233fca9a4b3301f7259b8d4790d1d9831e98.tar.gz
freebsd-ports-gnome-2d07233fca9a4b3301f7259b8d4790d1d9831e98.tar.zst
freebsd-ports-gnome-2d07233fca9a4b3301f7259b8d4790d1d9831e98.zip
BROKEN on !i386 and !alpha (gcc internal compiler error); mark IGNORE
on amd64 (cc1plus loops forever, presumably another symptom of the same bug)
Diffstat (limited to 'devel/spirit')
-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>