Fix install with custom PREFIX
Reported by: QATty
This commit is contained in:
parent
38840ddaa2
commit
1780b7d696
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=235160
@ -23,6 +23,7 @@ USE_GMAKE= yes
|
||||
post-patch:
|
||||
@${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} \
|
||||
${REINPLACE_CMD} -e "s|make$$|${GMAKE}|" \
|
||||
-e "s|^CFLAGS[ ]+=|CFLAGS +=|"
|
||||
-e "s|^CFLAGS[ ]+=|CFLAGS +=|" \
|
||||
-e "s|/usr/local|${PREFIX}|"
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user