aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2003-01-24 12:58:53 +0800
committeranholt <anholt@FreeBSD.org>2003-01-24 12:58:53 +0800
commitd28a7d46ab8d503c89b3c6653f8c429b7b311121 (patch)
tree154fbcb5d9506153208078cfbca7be1ed4dfef97 /x11-fonts
parent190c725a3ef579921f13a16fc9d7b607ccf5963f (diff)
downloadfreebsd-ports-gnome-d28a7d46ab8d503c89b3c6653f8c429b7b311121.tar.gz
freebsd-ports-gnome-d28a7d46ab8d503c89b3c6653f8c429b7b311121.tar.zst
freebsd-ports-gnome-d28a7d46ab8d503c89b3c6653f8c429b7b311121.zip
Make this port PREFIX?=${X11BASE} rather than USE_X_PREFIX, because it doesn't
use the X libraries and will be depended on for the 4.3 ports. Reviewed by: marcus
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/fontconfig/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/x11-fonts/fontconfig/Makefile b/x11-fonts/fontconfig/Makefile
index 6ddb7d338c86..74e5019008f2 100644
--- a/x11-fonts/fontconfig/Makefile
+++ b/x11-fonts/fontconfig/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
USE_GMAKE= yes
-USE_X_PREFIX= yes
+PREFIX?= ${X11BASE}
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
USE_REINPLACE= yes
@@ -30,6 +30,13 @@ CONFIGURE_ARGS= --with-confdir=${PREFIX}/etc/fonts \
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
WRKSRC= ${WRKDIR}/${DISTNAME}/fontconfig
+.include <bsd.port.pre.mk>
+.if ${XFREE86_VERSION} == 3
+MTREE_FILE= /etc/mtree/BSD.x11.dist
+.else
+MTREE_FILE= /etc/mtree/BSD.x11-4.dist
+.endif
+
pre-patch:
@${REINPLACE_CMD} -e 's|[(]LIBDIR[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' ${WRKSRC}/Makefile.in
@@ -38,4 +45,4 @@ post-install:
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>