mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
Add -fPIC to CPPFLAGS on !i386 to fix build
Reported by: kris mail
This commit is contained in:
parent
4f7c76fe41
commit
8445d65036
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=139241
@ -18,6 +18,7 @@ USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
INSTALLS_SHLIB= yes
|
||||
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
||||
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}"
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/lib/libtar.so.0 ${PREFIX}/lib
|
||||
@ -25,4 +26,9 @@ post-install:
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "files/manpages"
|
||||
|
||||
.if ${ARCH}!="i386"
|
||||
CPPFLAGS+= -fPIC
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user