Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Feb 2004 06:52:47 +0300 (MSK)
From:      Igor Pokrovsky <tiamat@comset.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/62509: Update port: graphics/pixie bento fix
Message-ID:  <200402080352.i183qlOV008897@doom.homeunix.org>
Resent-Message-ID: <200402080400.i1840eoJ080041@freefall.freebsd.org>

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

>Number:         62509
>Category:       ports
>Synopsis:       Update port: graphics/pixie bento fix
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 07 20:00:40 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Igor Pokrovsky
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD doom.homeunix.org 4.9-STABLE FreeBSD 4.9-STABLE #0: Mon Jan 26 19:02:19 MSK 2004 root@doom.homeunix.org:/usr/obj/usr/src/sys/KERNEL i386


	
>Description:
Fix build on amd64 by adding -fPIC to C[XX]FLAGS.
Archive library was building without -fPIC by default, but it is used to
generate shared libraries, which caused build failure.
	
>How-To-Repeat:
	
>Fix:

	

--- pixie.diff begins here ---
diff -ru /usr/ports/graphics/pixie/Makefile pixie/Makefile
--- /usr/ports/graphics/pixie/Makefile	Fri Feb  6 06:59:49 2004
+++ pixie/Makefile	Sun Feb  8 06:44:25 2004
@@ -29,8 +29,8 @@
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ENV=	CFLAGS="${CFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include" \
-		CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include" \
+CONFIGURE_ENV=	CFLAGS="${CFLAGS} -fPIC -I${LOCALBASE}/include -I${X11BASE}/include" \
+		CXXFLAGS="${CXXFLAGS} -fPIC -I${LOCALBASE}/include -I${X11BASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib" \
 		LIBS="${PTHREAD_LIBS}"
 INSTALLS_SHLIB=	yes
--- pixie.diff ends here ---


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



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