From f681cbe4c606f0eb4c464cd6b9e8f88cb2419620 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 24 Jan 2003 04:58:53 +0000 Subject: 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 --- x11-fonts/fontconfig/Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'x11-fonts') 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 +.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 +.include -- cgit v1.2.3