1
0
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:
Edwin Groothuis 2004-11-23 12:05:58 +00:00
parent 76f9758906
commit be05f9c262
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=122219

View File

@ -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>