From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Sep 29 23:30:25 2004 Return-Path: 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 2F41E16A4CE for ; Wed, 29 Sep 2004 23:30:25 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04E9443D2F for ; Wed, 29 Sep 2004 23:30:25 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i8TNUOHj028197 for ; Wed, 29 Sep 2004 23:30:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i8TNUOGp028193; Wed, 29 Sep 2004 23:30:24 GMT (envelope-from gnats) Resent-Date: Wed, 29 Sep 2004 23:30:24 GMT Resent-Message-Id: <200409292330.i8TNUOGp028193@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, Hannes Mehnert Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DEB9C16A4CE for ; Wed, 29 Sep 2004 23:26:12 +0000 (GMT) Received: from beagle2.mehnert.org (beagle2.mehnert.org [212.42.235.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 160EF43D3F for ; Wed, 29 Sep 2004 23:26:12 +0000 (GMT) (envelope-from hannes@mehnert.org) Received: from localhost (port-212-202-198-15.dynamic.qsc.de [212.202.198.15]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Hannes Mehnert", Issuer "mehnert root CA" (verified OK)) by beagle2.mehnert.org (Postfix) with ESMTP id 3F5409585D for ; Thu, 30 Sep 2004 01:26:10 +0200 (CEST) Message-Id: <20040929232608.GB686@mehnert.org> Date: Thu, 30 Sep 2004 01:26:08 +0200 From: Hannes Mehnert To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/72187: unbreak devel/swig13 on sparc64 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Sep 2004 23:30:25 -0000 >Number: 72187 >Category: ports >Synopsis: unbreak devel/swig13 on sparc64 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Sep 29 23:30:24 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Hannes Mehnert >Release: FreeBSD 5.2-CURRENT sparc64 >Organization: >Environment: System: FreeBSD epimenides.aispring.org 5.2-CURRENT FreeBSD 5.2-CURRENT #4: Tue Sep 28 21:27:48 CEST 2004 root@epimenides.aispring.org:/usr/obj/usr/src/sys/EPIMENIDES sparc64 >Description: Port devel/swig13 is marked BROKEN on sparc64. Changing CFLAGS in Makefile to -fPIC fixes this problem. This should be safe on all platforms. Example is viewcvs with svn-python bindings at http://gauss.gwydiondylan.org/cgi-bin/viewcvs.cgi/?root=svn >How-To-Repeat: >Fix: diff -u /usr/ports/devel/swig13/Makefile Makefile --- Makefile Thu Jul 8 09:21:04 2004 +++ Makefile Wed Sep 29 20:46:38 2004 @@ -99,15 +99,11 @@ INSTALLS_SHLIB= yes WRKSRC= ${WRKDIR}/${DISTNAME:U} USE_LIBTOOL_VER= 13 -CONFIGURE_ENV= CFLAGS="${CFLAGS} -fpic -DPIC" +CONFIGURE_ENV= CFLAGS="${CFLAGS} -fPIC -DPIC" ALL_TARGET= swig runtime PLIST_SUB+= VER="${VER}" .include - -.if ${ARCH} == "sparc64" -BROKEN= "Build fails on sparc64" -.endif post-patch: ${REINPLACE_CMD} -e 's/SKIP_CHICKEN=$$/&"1"/' ${WRKSRC}/configure >Release-Note: >Audit-Trail: >Unformatted: