mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
Make LOCALBASE proof
This commit is contained in:
parent
76f9758906
commit
be05f9c262
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=122219
@ -23,6 +23,9 @@ USE_PYDISTUTILS=yes
|
||||
USE_REINPLACE= yes
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|gcc -ldvdread|gcc -L${LOCALBASE}/lib -ldvdread|' ${WRKSRC}/setup.py
|
||||
@${REINPLACE_CMD} \
|
||||
-e 's,/usr/local/,${LOCALBASE}/,g' \
|
||||
-e 's|gcc -ldvdread|gcc -L${LOCALBASE}/lib -ldvdread|' \
|
||||
${WRKSRC}/setup.py
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user