1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Fix compile on powerpc64.

PR:		ports/188278
Submitted by:	nwhitehorn@
This commit is contained in:
Koop Mast 2014-05-29 19:47:43 +00:00
parent e2d3ccc810
commit 05ba37f7f6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355739

View File

@ -22,6 +22,12 @@ USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.options.mk>
.if ${ARCH} == powerpc64
CFLAGS+= -mminimal-toc
.endif
post-patch:
@${REINPLACE_CMD} -e 's,LDFLAGS -no-undefined -lpsapi",& ;; \
dragonfly* | freebsd*),' ${WRKSRC}/configure