summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzeising <zeising@058c260c-8361-11dd-a0ac-aa2bafec7d09>2013-04-17 22:26:17 +0800
committerzeising <zeising@058c260c-8361-11dd-a0ac-aa2bafec7d09>2013-04-17 22:26:17 +0800
commit4aa322a1909da6bc6dfe3f7ab1181485fd210299 (patch)
tree6166f81fa88c174b1478496ef5e274df82bb53e5
parentfd7337ed419b0148526612f6048db7207674d888 (diff)
downloadxorg-devel-ports-4aa322a1909da6bc6dfe3f7ab1181485fd210299.tar.gz
xorg-devel-ports-4aa322a1909da6bc6dfe3f7ab1181485fd210299.tar.zst
xorg-devel-ports-4aa322a1909da6bc6dfe3f7ab1181485fd210299.zip
Merge r827:
Update some comments. Make all ports defining XORG_CAT build depend on pkgconf. Some ports fail hard without pkgconf, some ports look for it, but seem to move on even if it is not found. git-svn-id: https://trillian.chruetertee.ch/svn/ports/branches/xorg-7.7@833 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 8051cb5..d2581b7 100644
--- a/Mk/bsd.xorg.mk
+++ b/Mk/bsd.xorg.mk
@@ -17,14 +17,14 @@ Xorg_Pre_Include= bsd.xorg.mk
# Some notes:
#
-# app - requires pkgconfig, don't install shared libraries (I guess)
+# app - Installs applications, no shared libraries.
# data - nothing I could factorize
# doc - no particular notes
# driver - input depends on inputproto/randrproto at least
# video depends on randrproto/renderproto at least
# font - don't install .pc file
-# lib - various dependencies, install .pc file
-# proto - install .pc file, no dependencies, needed only at build time for most of them
+# lib - various dependencies, install .pc file, needs pathfix
+# proto - install .pc file, needs pathfix, most only needed at build time.
# xserver - there's only one atm, I guess everything can fit into the port itself
.if defined(XORG_CAT)
@@ -38,8 +38,12 @@ DIST_SUBDIR= xorg/${XORG_CAT}
MASTER_SITES?= ${MASTER_SITE_XORG}
MASTER_SITE_SUBDIR?= individual/${XORG_CAT}
-. if ${XORG_CAT} == "app"
+# All xorg ports needs pkgconfig to build, but some ports look for pkgconfig and
+# then continues the build.
USE_PKGCONFIG= build
+
+. if ${XORG_CAT} == "app"
+# Nothing at the moment
. endif
. if ${XORG_CAT} == "data"
@@ -47,7 +51,6 @@ USE_PKGCONFIG= build
. endif
. if ${XORG_CAT} == "driver"
-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
@@ -88,7 +91,6 @@ INSTALLS_TTF?= no
USES+= pathfix
NEED_MKFONTFOO= no
. elif ${INSTALLS_TTF} == "yes"
-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,7 +126,6 @@ post-install:
. endif
. if ${XORG_CAT} == "lib"
-USE_PKGCONFIG= build
USES+= pathfix
USE_LDCONFIG= yes
CONFIGURE_ARGS+=--enable-malloc0returnsnull