ports/72187: unbreak devel/swig13 on sparc64

Hannes Mehnert hannes at mehnert.org
Wed Sep 29 23:30:25 UTC 2004


>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 at 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:



More information about the freebsd-ports-bugs mailing list