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 /x11-fonts/fontconfig/Makefile | |
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 'x11-fonts/fontconfig/Makefile')
-rw-r--r-- | x11-fonts/fontconfig/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/x11-fonts/fontconfig/Makefile b/x11-fonts/fontconfig/Makefile index 109c3d8d197b..3223d723ce42 100644 --- a/x11-fonts/fontconfig/Makefile +++ b/x11-fonts/fontconfig/Makefile @@ -51,6 +51,12 @@ PATCHFILES+= cjk-fontconfig-2.3.2-20051217.patch.gz PATCH_DIST_STRIP+= -p1 .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-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} |