- Fix install with custom PREFIX.
Reported by: QATty
This commit is contained in:
parent
bc09d4bcb0
commit
d7809b6ad4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=236418
1 changed files with 5 additions and 0 deletions
|
@ -33,4 +33,9 @@ RUN_DEPENDS= ${BUILD_DEPENDS}
|
|||
|
||||
USE_PERL5= yes
|
||||
|
||||
post-patch:
|
||||
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e \
|
||||
's,/usr/local,${PREFIX},g' ${WRKSRC}/Makefile
|
||||
@${FIND} ${WRKSRC} -name "*".bak | ${XARGS} ${RM} -f
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue