Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Apr 2005 10:51:37 +0200 (CEST)
From:      Johan van Selst <johans@stack.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/80429: math/freefem++: unbreak build on amd64
Message-ID:  <20050428085137.3C7C362E9@hammer.stack.nl>
Resent-Message-ID: <200504280900.j3S90S81070346@freefall.freebsd.org>

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

>Number:         80429
>Category:       ports
>Synopsis:       math/freefem++: unbreak build 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:   Thu Apr 28 09:00:28 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 #10: Fri Apr 15 11:15:54 CEST 2005 root@hammer.stack.nl:/usr/obj/usr/src/sys/HAMMER amd64


	
>Description:
	
	Add -fPIC when building shared libraries

>How-To-Repeat:
	
>Fix:

	


diff -uNr freefem++/Makefile freefem++/Makefile
--- freefem++/Makefile	Tue Apr 12 10:28:48 2005
+++ freefem++/Makefile	Thu Apr 28 10:33:33 2005
@@ -51,7 +51,7 @@
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == "amd64"
-BROKEN=		"Does not build"
+MAKE_ARGS+=	"PIC=-fPIC"
 .endif
 
 .if ${ARCH} == "sparc64"
>Release-Note:
>Audit-Trail:
>Unformatted:



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