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:
parent
b325217990
commit
fb3d747b7d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=121362
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user