From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jul 5 14:10:21 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECE5B16A4EA for ; Wed, 5 Jul 2006 14:10:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7528643D5F for ; Wed, 5 Jul 2006 14:10:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k65EAJlC089271 for ; Wed, 5 Jul 2006 14:10:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k65EAJ0r089270; Wed, 5 Jul 2006 14:10:19 GMT (envelope-from gnats) Resent-Date: Wed, 5 Jul 2006 14:10:19 GMT Resent-Message-Id: <200607051410.k65EAJ0r089270@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Erik Greenwald Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 368AE16A4DA for ; Wed, 5 Jul 2006 14:06:16 +0000 (UTC) (envelope-from erik@smluc.org) Received: from phoenix.smluc.org (phoenix.smluc.org [12.28.48.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id F07F343D45 for ; Wed, 5 Jul 2006 14:06:15 +0000 (GMT) (envelope-from erik@smluc.org) Received: by phoenix.smluc.org (Postfix, from userid 1000) id 6162C1CEBA; Wed, 5 Jul 2006 09:09:18 -0500 (CDT) Message-Id: <20060705140918.6162C1CEBA@phoenix.smluc.org> Date: Wed, 5 Jul 2006 09:09:18 -0500 (CDT) From: Erik Greenwald To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: erik@math.missouristate.edu Subject: ports/99802: x11-toolkits/gauche-gtk - fix for broken amd64 build X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Erik Greenwald List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jul 2006 14:10:22 -0000 >Number: 99802 >Category: ports >Synopsis: x11-toolkits/gauche-gtk - fix for broken amd64 build >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Jul 05 14:10:19 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Erik Greenwald >Release: FreeBSD 6.1-RELEASE i386 >Organization: >Environment: System: FreeBSD fenris 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 14:38:02 EDT 2006 root@fenris:/usr/obj/usr/src/sys/FENRIS i386 >Description: Building on amd64 fails due to non-relocatable symbols. This patch forces -fPIC onto the CFLAGS allowing it to build and function on non-x86 arch's. Tested on athlon and opteron, but I would imagine that ppc, sparc, etc would also be fixed by this patch... Thanks! >How-To-Repeat: >Fix: --- x11-toolkits_gauche-gtk.patch begins here --- Index: x11-toolkits/gauche-gtk/Makefile =================================================================== RCS file: /home/ncvs/ports/x11-toolkits/gauche-gtk/Makefile,v retrieving revision 1.28 diff -u -r1.28 Makefile --- x11-toolkits/gauche-gtk/Makefile 11 Dec 2005 23:47:05 -0000 1.28 +++ x11-toolkits/gauche-gtk/Makefile 5 Jul 2006 14:00:56 -0000 @@ -7,7 +7,7 @@ PORTNAME= gauche PORTVERSION= 0.4.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= x11-toolkits scheme MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= gauche @@ -27,6 +27,7 @@ DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}/gtk PLIST_SUB= VERSION="`gauche-config -V`" \ TARGET="${MACHINE_ARCH}-portbld-freebsd${OSREL}" +CFLAGS+= -fPIC .if defined(WITH_GTKGLEXT) LIB_DEPENDS+= gtkglext-x11-1.0.2:${PORTSDIR}/x11-toolkits/gtkglext --- x11-toolkits_gauche-gtk.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: