ports/85089: chinese/xsim: unbreak on amd64/ia64
Johan van Selst
johans at stack.nl
Thu Aug 18 14:00:33 UTC 2005
>Number: 85089
>Category: ports
>Synopsis: chinese/xsim: unbreak on amd64/ia64
>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: Thu Aug 18 14:00:32 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Johan van Selst
>Release: FreeBSD 6.0-BETA2 amd64
>Organization:
>Environment:
System: FreeBSD hammer.stack.nl 6.0-BETA2 FreeBSD 6.0-BETA2 #1: Tue Aug 16 17:51:03 CEST 2005 root at hammer.stack.nl:/usr/obj/usr/src/sys/HAMMER amd64
>Description:
Use -fPIC and libgcc_pic.a on amd64/ia64
>How-To-Repeat:
>Fix:
diff -uNr xsim/Makefile xsim/Makefile
--- xsim/Makefile Thu Jul 28 13:32:09 2005
+++ xsim/Makefile Thu Aug 18 15:48:31 2005
@@ -26,7 +26,8 @@
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
-BROKEN= "Does not compile on amd64 or ia64 (missing -fPIC)"
+CFLAGS+= -fPIC
+MAKE_ARGS+= gcclib=`${CXX} -print-file-name=libgcc_pic.a`
.endif
post-patch:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list