diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-07-30 07:48:56 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-07-30 07:48:56 +0000 |
commit | fc2209416d992f83c55c4d4e62b0b7c57bcdff70 (patch) | |
tree | f9c91923cfc71f02eea9a816b17001c142f2c5e6 /meta-pkgs/xorg | |
parent | 6edb1b06bb30d14d283102cf04675319c66ca40d (diff) | |
download | pkgsrc-fc2209416d992f83c55c4d4e62b0b7c57bcdff70.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.common | 5 |
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} |