1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Replace -fpic with -fPIC and unbreak on sparc64.

PR:		ports/72187
Submitted by:	Hannes Mehnert <hannes - at - mehnert.org>
This commit is contained in:
Akinori MUSHA 2004-11-11 08:04:16 +00:00
parent b325217990
commit fb3d747b7d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=121362
2 changed files with 4 additions and 10 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= swig
PORTVERSION= 1.3.21
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -99,16 +100,12 @@ USE_REINPLACE= yes
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

View File

@ -7,6 +7,7 @@
PORTNAME= swig
PORTVERSION= 1.3.21
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -99,16 +100,12 @@ USE_REINPLACE= yes
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