summaryrefslogtreecommitdiffstats
path: root/lang/scriba
diff options
context:
space:
mode:
authornovel <novel@FreeBSD.org>2005-05-12 04:24:52 +0000
committernovel <novel@FreeBSD.org>2005-05-12 04:24:52 +0000
commit69928c0fac79ccb39506b8035ffad70128b2d9cf (patch)
tree36a7ef085668b8901f8335eceafb5485a6b03b4e /lang/scriba
parentf05b8cd8fbdff1ff40266496dbe5431407135ece (diff)
downloadFreeBSD-ports-69928c0fac79ccb39506b8035ffad70128b2d9cf.zip
FreeBSD-ports-69928c0fac79ccb39506b8035ffad70128b2d9cf.tar.gz
- Fix building on amd64 by adding a post-patch command to remove -Bstatic
- Pet portlint by quoting BROKEN messages PR: 80903 Submitted by: Johan van Selst <johans@stack.nl>
Diffstat (limited to 'lang/scriba')
-rw-r--r--lang/scriba/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/lang/scriba/Makefile b/lang/scriba/Makefile
index ac27ffb..c840da2 100644
--- a/lang/scriba/Makefile
+++ b/lang/scriba/Makefile
@@ -33,15 +33,11 @@ OPTIONS= BDB "Berkeley DB extension" off \
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
-BROKEN= coredumps a lot
-.endif
-
-.if ${ARCH} == "amd64"
-IGNORE= need base libraries built with -fPIC
+BROKEN= "coredumps a lot"
.endif
.if ${ARCH} == "ia64"
-BROKEN= fails to compile
+BROKEN= "fails to compile"
.endif
# Dependencies for port options
@@ -112,6 +108,9 @@ post-patch:
-e 's,%%PTHREAD_LIBS%%,${PTHREAD_LIBS},g' \
-e 's,root:root,root:wheel,g' \
${WRKSRC}/setup.pl ${WRKSRC}/scriba.c ${WRKSRC}/make_gcc.jim
+.if ${ARCH} == "amd64"
+ ${REINPLACE_CMD} -e 's, -Bstatic,,g' ${WRKSRC}/make_gcc.jim
+.endif
# Remove extensions not selected as options
OpenPOWER on IntegriCloud