aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2009-06-21 10:02:21 +0800
committerijliao <ijliao@FreeBSD.org>2009-06-21 10:02:21 +0800
commit0bd4a5a88a5f522914dcf4237340a5dde576c82e (patch)
tree75881e33936d94d9d381fdc638daabd90194d95d
parent7a975798271b01405f96a3db7b1444aa14b4f958 (diff)
downloadfreebsd-ports-gnome-0bd4a5a88a5f522914dcf4237340a5dde576c82e.tar.gz
freebsd-ports-gnome-0bd4a5a88a5f522914dcf4237340a5dde576c82e.tar.zst
freebsd-ports-gnome-0bd4a5a88a5f522914dcf4237340a5dde576c82e.zip
fix mtree error in case of custom PREFIX
Submitted by: Sahil Tandon <sahil@tandon.net> (via mail)
-rw-r--r--devel/libarena/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/libarena/Makefile b/devel/libarena/Makefile
index ea57536ba01d..e091923d82af 100644
--- a/devel/libarena/Makefile
+++ b/devel/libarena/Makefile
@@ -26,4 +26,8 @@ PLIST_FILES= include/arena/align.h \
lib/libarena.a
PLIST_DIRS= include/arena
+post-patch:
+ @${REINPLACE_CMD} -E 's|^(PREFIX.*):=|\1?=|' \
+ ${WRKSRC}/mk/Variables.mk
+
.include <bsd.port.mk>