Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Mar 2005 17:42:37 +0100 (CET)
From:      Johan van Selst <johans@stack.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/78793: graphics/tulip: unbreak build on amd64/ia64
Message-ID:  <20050313164237.78F64171DF@mud.stack.nl>
Resent-Message-ID: <200503131650.j2DGo2aE034372@freefall.freebsd.org>

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

>Number:         78793
>Category:       ports
>Synopsis:       graphics/tulip: unbreak build 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:   Sun Mar 13 16:50:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Johan van Selst
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD mud.stack.nl 5.3-STABLE FreeBSD 5.3-STABLE #0: Mon Jan 31 22:31:14 CET 2005 root@mud.stack.nl:/usr/obj/usr/src/sys/mud i386


	
>Description:
	
	-fPIC flag is required for compilation on amd64 and ia64

>How-To-Repeat:
	
>Fix:

	

	Only tested on amd64, but should work on ia64 as well

diff -uNr tulip/Makefile tulip/Makefile
--- tulip/Makefile	Fri Oct 29 15:11:25 2004
+++ tulip/Makefile	Sun Mar 13 17:17:06 2005
@@ -40,7 +40,7 @@
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == "amd64" || ${ARCH} == "ia64"
-BROKEN=		"Does not compile on amd64 or ia64 (missing -fPIC from shared library objects)"
+CFLAGS+=	-fPIC
 .endif
 
 post-extract:

>Release-Note:
>Audit-Trail:
>Unformatted:



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