Teach 'coin-config --ldflags' to use -Wl,-rpath,/usr/local/lib instead
of -R/usr/local/lib. This is required on -current but should work fine elsewhere.
This commit is contained in:
parent
d0ad447785
commit
f9b0106c74
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365193
1 changed files with 4 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= Coin
|
||||
PORTVERSION= 3.1.3
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= https://bitbucket.org/Coin3D/coin/downloads/
|
||||
|
||||
|
@ -29,4 +29,7 @@ post-patch:
|
|||
@${REINPLACE_CMD} -e 's|DATA install-data-local|DATA|g' ${WRKSRC}/Makefile.in
|
||||
@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
|
||||
|
||||
post-build:
|
||||
@${REINPLACE_CMD} -e '/^ldflags=/s|-R|-Wl,-rpath,|' ${WRKSRC}/coin-default.cfg
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue