Date: Wed, 11 May 2005 18:48:52 +0200 (CEST) From: Johan van Selst <johans@stack.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/80903: lang/scriba: fix for building on amd64 Message-ID: <20050511164852.390856B51@hammer.stack.nl> Resent-Message-ID: <200505111650.j4BGo2Tl098978@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050511164852.390856B51>