summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzeising <zeising@058c260c-8361-11dd-a0ac-aa2bafec7d09>2013-03-10 20:03:11 +0800
committerzeising <zeising@058c260c-8361-11dd-a0ac-aa2bafec7d09>2013-03-10 20:03:11 +0800
commitdcd0709cbeaed2d6962c388d2a022aee3db22036 (patch)
treeb0ff7ae5abcad2f5f9dfd63451643827945667a7
parenteb69ee6f541bccb72c7572876677a5c081cd84ac (diff)
downloadxorg-devel-ports-dcd0709cbeaed2d6962c388d2a022aee3db22036.tar.gz
xorg-devel-ports-dcd0709cbeaed2d6962c388d2a022aee3db22036.tar.zst
xorg-devel-ports-dcd0709cbeaed2d6962c388d2a022aee3db22036.zip
Change to use USES=pathfix and USE_PKGCONFIG=build instead of
USE_GNOME=gnomehack pkgconfig git-svn-id: https://trillian.chruetertee.ch/svn/ports/trunk@714 058c260c-8361-11dd-a0ac-aa2bafec7d09
-rw-r--r--Mk/bsd.xorg.mk15
1 files changed, 8 insertions, 7 deletions
diff --git a/Mk/bsd.xorg.mk b/Mk/bsd.xorg.mk
index 6cc8d4e..385551d 100644
--- a/Mk/bsd.xorg.mk
+++ b/Mk/bsd.xorg.mk
@@ -39,7 +39,7 @@ MASTER_SITES?= ${MASTER_SITE_XORG}
MASTER_SITE_SUBDIR?= individual/${XORG_CAT}
. if ${XORG_CAT} == "app"
-USE_GNOME+= pkgconfig
+USE_PKGCONFIG= build
. endif
. if ${XORG_CAT} == "data"
@@ -47,7 +47,7 @@ USE_GNOME+= pkgconfig
. endif
. if ${XORG_CAT} == "driver"
-USE_GNOME+= pkgconfig
+USE_PKGCONFIG= build
USE_XORG+= xorg-server xproto randrproto xi
# work around a llvm bug on i386, llvm bug #15806
# reproduced with clang 3.2 (current release) and 3.1
@@ -85,10 +85,10 @@ INSTALLS_TTF?= no
. endif
. if ${PORTNAME:M*font-util*}x != x
-USE_GNOME+= gnomehack
+USES= pathfix
NEED_MKFONTFOO= no
. elif ${INSTALLS_TTF} == "yes"
-USE_GNOME+= pkgconfig
+USE_PKGCONFIG= build
BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/fontconfig.pc:${PORTSDIR}/x11-fonts/fontconfig
RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/fontconfig.pc:${PORTSDIR}/x11-fonts/fontconfig
. else
@@ -124,19 +124,20 @@ post-install:
. endif
. if ${XORG_CAT} == "lib"
-USE_GNOME+= gnomehack pkgconfig
+USE_PKGCONFIG= build
+USES= pathfix
USE_LDCONFIG= yes
CONFIGURE_ARGS+=--enable-malloc0returnsnull
. endif
. if ${XORG_CAT} == "proto"
-USE_GNOME+= gnomehack
+USES= pathfix
. endif
. if ${XORG_CAT} == "xserver"
DISTFILES?= xorg-server-${PORTVERSION}.tar.bz2
WRKSRC= ${WRKDIR}/xorg-server-${PORTVERSION}
-USE_GNOME+= gnomehack
+USES= pathfix
CONFIGURE_ARGS+= --with-xkb-path=${LOCALBASE}/share/X11/xkb
LIB_PC_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/dri.pc:${PORTSDIR}/graphics/dri