ports/80903: lang/scriba: fix for building on amd64
Johan van Selst
johans at stack.nl
Wed May 11 16:50:02 UTC 2005
>Number: 80903
>Category: ports
>Synopsis: lang/scriba: fix for building on amd64
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Wed May 11 16:50:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Johan van Selst
>Release: FreeBSD 5.4-STABLE amd64
>Organization:
>Environment:
System: FreeBSD hammer.stack.nl 5.4-STABLE FreeBSD 5.4-STABLE #14: Mon May 9 18:07:23 CEST 2005 root at hammer.stack.nl:/usr/obj/usr/src/sys/HAMMER amd64
>Description:
Fix: Don't force the use of static libc when there is no need
>How-To-Repeat:
>Fix:
Added a post-patch command to remove -Bstatic.
Please portlint by quoting the other BROKEN messages.
diff -uNr scriba/Makefile scriba/Makefile
--- scriba/Makefile Mon May 9 11:02:26 2005
+++ scriba/Makefile Wed May 11 18:43:00 2005
@@ -33,15 +33,11 @@
.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 @@
-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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list