Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Mar 2005 16:11:22 +0100 (CET)
From:      Johan van Selst <johans@stack.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/78790: graphics/lfview: unbreak build on amd64
Message-ID:  <20050313151122.DA7DA171DF@mud.stack.nl>
Resent-Message-ID: <200503131520.j2DFK2DV024171@freefall.freebsd.org>

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

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



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