aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2009-06-04 19:01:21 +0800
committeritetcu <itetcu@FreeBSD.org>2009-06-04 19:01:21 +0800
commit11f2e78e2ea58aba2b83e78bb2bdea0492b9ba07 (patch)
tree57dc6501c71a795adf8303127044f5f41d69107f
parenta10a1b439c9209e5b65e7b889a55723866ed6f78 (diff)
downloadfreebsd-ports-gnome-11f2e78e2ea58aba2b83e78bb2bdea0492b9ba07.tar.gz
freebsd-ports-gnome-11f2e78e2ea58aba2b83e78bb2bdea0492b9ba07.tar.zst
freebsd-ports-gnome-11f2e78e2ea58aba2b83e78bb2bdea0492b9ba07.zip
Fix install with custom PREFIX
Reported by: QATty
-rw-r--r--devel/fsmgenerator/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/fsmgenerator/Makefile b/devel/fsmgenerator/Makefile
index 35f430433a89..bb00eeac53f3 100644
--- a/devel/fsmgenerator/Makefile
+++ b/devel/fsmgenerator/Makefile
@@ -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>