Date: Thu, 30 Sep 2004 01:26:08 +0200 From: Hannes Mehnert <hannes@mehnert.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/72187: unbreak devel/swig13 on sparc64 Message-ID: <20040929232608.GB686@mehnert.org> Resent-Message-ID: <200409292330.i8TNUOGp028193@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <bsd.port.pre.mk> - -.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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040929232608.GB686>