ports/78790: graphics/lfview: unbreak build on amd64

Johan van Selst johans at stack.nl
Sun Mar 13 15:20:03 UTC 2005


>Number:         78790
>Category:       ports
>Synopsis:       graphics/lfview: 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:   Sun Mar 13 15:20:02 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 at mud.stack.nl:/usr/obj/usr/src/sys/mud i386


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

>How-To-Repeat:
	
>Fix:

	


diff -uNr lfview/Makefile lfview/Makefile
--- lfview/Makefile	Sat Apr 10 19:26:38 2004
+++ lfview/Makefile	Sun Mar 13 16:05:14 2005
@@ -21,7 +21,8 @@
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == "amd64"
-BROKEN=		"Does not compile on amd64 (-fPIC missing)"
+CFLAGS+=	-fPIC
+MAKE_ENV=	"SHLIBGLOBALSFLAGS=-fPIC"
 .endif
 
 do-install:
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list