summaryrefslogtreecommitdiff
path: root/meta-pkgs/xorg
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-07-30 07:48:56 +0000
committerxtraeme <xtraeme>2004-07-30 07:48:56 +0000
commitfb3f4ed7b71e1c568367353af78a6dbe4b3b2d0a (patch)
treef9c91923cfc71f02eea9a816b17001c142f2c5e6 /meta-pkgs/xorg
parent275d30d51736500514c04a0ebf7c53e2c563ced7 (diff)
downloadpkgsrc-fb3f4ed7b71e1c568367353af78a6dbe4b3b2d0a.tar.gz
Add a new variable to specify the installation prefix for
X11 packages (currently XFree86 and xorg), X11ROOT_PREFIX. Defaults: xorg: X11ROOT_PREFIX = xorg. XFree86: X11ROOT_PREFIX = XFree86. Otherwise it's undefined. With this modification we don't have to specify X11BASE anymore, because it's assigned automatically via bsd.pkg.defaults.mk. If you want to change the defaults, specify X11ROOT_PREFIX in mk.conf. Update Packages.txt now that we don't need X11BASE.
Diffstat (limited to 'meta-pkgs/xorg')
-rw-r--r--meta-pkgs/xorg/Makefile.common5
1 files changed, 2 insertions, 3 deletions
diff --git a/meta-pkgs/xorg/Makefile.common b/meta-pkgs/xorg/Makefile.common
index 287a9842b2c..daffb69e260 100644
--- a/meta-pkgs/xorg/Makefile.common
+++ b/meta-pkgs/xorg/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.3 2004/07/29 08:59:15 xtraeme Exp $
+# $NetBSD: Makefile.common,v 1.4 2004/07/30 07:48:56 xtraeme Exp $
#
# XBUILD_DIRS is the group of directories under ${WRKSRC} that will
# be built in.
@@ -103,9 +103,8 @@ PKG_FAIL_REASON+= "X11_TYPE=xorg is mandatory."
NO_MTREE= # defined
-X11ROOT_PREFIX?= xorg
WRKSRC?= ${WRKDIR}/xc
-X11ROOT?= ${PREFIX}/${X11ROOT_PREFIX}
+X11ROOT?= ${LOCALBASE}/${X11ROOT_PREFIX}
PREPEND_PATH+= ${X11ROOT}/bin # Make sure we have this in PATH :)
PLIST_SUBST+= X11ROOT_PREFIX=${X11ROOT_PREFIX}