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