From igor@doom.homeunix.org  Sat Feb  7 19:53:23 2004
Return-Path: <igor@doom.homeunix.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1D37216A4DF
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  7 Feb 2004 19:53:23 -0800 (PST)
Received: from doom.homeunix.org (9-052.dialup.comset.net [213.172.9.52])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1F75743D1D
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  7 Feb 2004 19:53:12 -0800 (PST)
	(envelope-from igor@doom.homeunix.org)
Received: from doom.homeunix.org (localhost [127.0.0.1])
	by doom.homeunix.org (8.12.10/8.12.10) with ESMTP id i183qqCR008898
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 8 Feb 2004 06:53:01 +0300 (MSK)
	(envelope-from igor@doom.homeunix.org)
Received: (from igor@localhost)
	by doom.homeunix.org (8.12.10/8.12.10/Submit) id i183qlOV008897;
	Sun, 8 Feb 2004 06:52:47 +0300 (MSK)
	(envelope-from igor)
Message-Id: <200402080352.i183qlOV008897@doom.homeunix.org>
Date: Sun, 8 Feb 2004 06:52:47 +0300 (MSK)
From: Igor Pokrovsky <tiamat@comset.net>
Reply-To: Igor Pokrovsky <tiamat@comset.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Update port: graphics/pixie bento fix
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         62509
>Category:       ports
>Synopsis:       Update port: graphics/pixie bento fix
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 07 20:00:40 PST 2004
>Closed-Date:    Sun Feb 08 05:25:16 PST 2004
>Last-Modified:  Sun Feb 08 05:25:16 PST 2004
>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:
State-Changed-From-To: open->closed 
State-Changed-By: krion 
State-Changed-When: Sun Feb 8 05:25:10 PST 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=62509 
>Unformatted:
