Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Aug 2005 15:53:26 +0200 (CEST)
From:      Johan van Selst <johans@stack.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/85089: chinese/xsim: unbreak on amd64/ia64
Message-ID:  <20050818135326.2363E6566@hammer.stack.nl>
Resent-Message-ID: <200508181400.j7IE0WZ7013450@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050818135326.2363E6566>