diff options
author | mezz <mezz@FreeBSD.org> | 2006-06-12 12:58:43 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2006-06-12 12:58:43 +0800 |
commit | b86cc8d4c3812f7f58f2621fdb68c89ce44b1365 (patch) | |
tree | f9d882c6238664cc6cb4f6fbae4e5bdb2e1364ee /lang/librep | |
parent | 73e90e9463c57f1bcaa52ced2bda3fd8af02b294 (diff) | |
download | freebsd-ports-gnome-b86cc8d4c3812f7f58f2621fdb68c89ce44b1365.tar.gz freebsd-ports-gnome-b86cc8d4c3812f7f58f2621fdb68c89ce44b1365.tar.zst freebsd-ports-gnome-b86cc8d4c3812f7f58f2621fdb68c89ce44b1365.zip |
Use the correct mtree when you change the prefix, for example:
Incorrect: (before)
================================
# cd /usr/ports/x11-toolkits/pango
# make -V MTREE_FILE
/etc/mtree/BSD.x11-4.dist
# make PREFIX=/tmp/foo -V MTREE_FILE
/etc/mtree/BSD.local.dist <-- Here...
================================
Correct: (after)
================================
# cd /usr/ports/x11-toolkits/pango
# make -V MTREE_FILE
/etc/mtree/BSD.x11-4.dist
# make PREFIX=/tmp/foo -V MTREE_FILE
/etc/mtree/BSD.x11-4.dist <-- Here...
================================
Diffstat (limited to 'lang/librep')
-rw-r--r-- | lang/librep/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lang/librep/Makefile b/lang/librep/Makefile index 212f722585ce..b6b982dcea0e 100644 --- a/lang/librep/Makefile +++ b/lang/librep/Makefile @@ -50,6 +50,12 @@ LIB_DEPENDS+= gmp.7:${PORTSDIR}/math/libgmp4 EXTRA_PATCHES+= ${FILESDIR}/stable-patch-src_numbers.c .endif +.if ${X_WINDOW_SYSTEM:L} == xfree86-3 +MTREE_FILE= /etc/mtree/BSD.x11.dist +.else +MTREE_FILE= /etc/mtree/BSD.x11-4.dist +.endif + post-extract: @${RM} ${WRKSRC}/test |