aboutsummaryrefslogtreecommitdiffstats
path: root/mail/openwebmail/Makefile
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2009-06-19 13:57:26 +0800
committerpgollucci <pgollucci@FreeBSD.org>2009-06-19 13:57:26 +0800
commit9f45a32fc79768dddf5116d1905815193d42ec27 (patch)
treedc2cf8783348d55c07295d4038078c919b3c8b09 /mail/openwebmail/Makefile
parent4940eef8707f5f0da834c57101fb7960f8ba5791 (diff)
downloadfreebsd-ports-gnome-9f45a32fc79768dddf5116d1905815193d42ec27.tar.gz
freebsd-ports-gnome-9f45a32fc79768dddf5116d1905815193d42ec27.tar.zst
freebsd-ports-gnome-9f45a32fc79768dddf5116d1905815193d42ec27.zip
- hackily fix custom LOCALBASE/PREFIX
Reported by: QATty
Diffstat (limited to 'mail/openwebmail/Makefile')
-rw-r--r--mail/openwebmail/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/openwebmail/Makefile b/mail/openwebmail/Makefile
index e4ab2e6a051e..c06c377a13ef 100644
--- a/mail/openwebmail/Makefile
+++ b/mail/openwebmail/Makefile
@@ -139,6 +139,8 @@ post-extract:
.endfor
post-patch:
+ ### XXX: Hack, some of this should be LOCALBASE
+ @${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g'
.if defined(DISABLE_SPEEDYCGI)
@${ECHO_MSG} ""
@${ECHO_MSG} "WARNING:"