summaryrefslogtreecommitdiff
path: root/meta-pkgs/XFree86
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-07-30 07:48:56 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-07-30 07:48:56 +0000
commit0cfedd6db1de31e305042a822f479dcbd5a73ceb (patch)
treef9c91923cfc71f02eea9a816b17001c142f2c5e6 /meta-pkgs/XFree86
parent02371f01af9e407a8c9a5d07d0166ad4383e37cf (diff)
downloadpkgsrc-0cfedd6db1de31e305042a822f479dcbd5a73ceb.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/XFree86')
-rw-r--r--meta-pkgs/XFree86/Makefile.common6
1 files changed, 2 insertions, 4 deletions
diff --git a/meta-pkgs/XFree86/Makefile.common b/meta-pkgs/XFree86/Makefile.common
index dcd18ba5f47..12b2213e9e8 100644
--- a/meta-pkgs/XFree86/Makefile.common
+++ b/meta-pkgs/XFree86/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.14 2004/07/29 08:59:15 xtraeme Exp $
+# $NetBSD: Makefile.common,v 1.15 2004/07/30 07:48:56 xtraeme Exp $
#
# XBUILD_DIRS is the group of directories under ${WRKSRC} that will
# be built in.
@@ -111,10 +111,8 @@ PKG_FAIL_REASON+= "X11_TYPE=XFree86 is mandatory."
NO_MTREE= # defined
-X11ROOT_PREFIX?= X11R6
WRKSRC?= ${WRKDIR}/xc
-X11ROOT?= ${PREFIX}/${X11ROOT_PREFIX}
-X11BASE= ${X11ROOT}
+X11ROOT?= ${LOCALBASE}/${X11ROOT_PREFIX}
PREPEND_PATH= ${X11ROOT}/bin # Make sure we have this in PATH :)
PLIST_SUBST+= X11ROOT_PREFIX=${X11ROOT_PREFIX}