summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam>2004-01-03 23:34:19 +0000
committerjlam <jlam>2004-01-03 23:34:19 +0000
commitc2fbbc3ba38c66a7b17799e71087c364238046fe (patch)
treeb30fec5a6249cf429c9ff271b6edd498f91c8183
parentc4251b8162dea2d00b8f6eb0f820db72431d4ec9 (diff)
downloadpkgsrc-c2fbbc3ba38c66a7b17799e71087c364238046fe.tar.gz
Update pkgtools/xpkgwedge to 1.9. Changes from version 1.8 are making
this package work in a pkgviews world by looking for imake config files in ${PREFIX}/lib/X11/config, then ${VIEWBASE}/lib/X11/config, then ${X11BASE}/lib/X11/config. The second directory is where some packages may share a commonly-editted host.def file.
-rw-r--r--doc/CHANGES3
-rw-r--r--pkgtools/xpkgwedge/Makefile7
-rw-r--r--pkgtools/xpkgwedge/files/pkgxmkmf.in6
-rw-r--r--pkgtools/xpkgwedge/files/xpkgwedge.def12
4 files changed, 18 insertions, 10 deletions
diff --git a/doc/CHANGES b/doc/CHANGES
index e25ae44200c..27785f93cb3 100644
--- a/doc/CHANGES
+++ b/doc/CHANGES
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.4336 2004/01/03 23:23:03 tron Exp $
+$NetBSD: CHANGES,v 1.4337 2004/01/03 23:34:19 jlam Exp $
Changes to the packages collection and infrastructure in 2004:
@@ -36,3 +36,4 @@ Changes to the packages collection and infrastructure in 2004:
Updated silc-server to 0.9.16 [salo 2004-01-03]
Updated tiff to 3.6.1 [reed 2004-01-3]
Added oidentd-2.0.7 [tron 2004-01-03]
+ Updated xpkgwedge to 1.9 [jlam 2004-01-03]
diff --git a/pkgtools/xpkgwedge/Makefile b/pkgtools/xpkgwedge/Makefile
index 901d84646d3..8e10d885fb4 100644
--- a/pkgtools/xpkgwedge/Makefile
+++ b/pkgtools/xpkgwedge/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.44 2003/11/23 08:35:05 jlam Exp $
+# $NetBSD: Makefile,v 1.45 2004/01/03 23:34:21 jlam Exp $
-DISTNAME= xpkgwedge-1.8
+DISTNAME= xpkgwedge-1.9
WRKSRC= ${WRKDIR}
CATEGORIES= pkgtools devel x11
MASTER_SITES= # empty
@@ -10,6 +10,8 @@ MAINTAINER= jlam@NetBSD.org
HOMEPAGE= ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/Packages.txt
COMMENT= Allows X11 pkgs to be built and used outside of $${X11BASE}
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
EXTRACT_ONLY= # empty
NO_CONFIGURE= # defined
NO_BUILDLINK= # defined
@@ -26,6 +28,7 @@ INSTALLATION_DIRS= bin lib/X11/config
#
FONT_PROGS= bdftopcf fstobdf mkfontdir
+FILES_SUBST+= VIEWBASE=${VIEWBASE}
FILES_SUBST+= FONT_PROGS=${FONT_PROGS:Q}
FILES_SUBST+= MAKE=${MAKE_PROGRAM:Q}
diff --git a/pkgtools/xpkgwedge/files/pkgxmkmf.in b/pkgtools/xpkgwedge/files/pkgxmkmf.in
index b9202355f9a..9a7da82aeb1 100644
--- a/pkgtools/xpkgwedge/files/pkgxmkmf.in
+++ b/pkgtools/xpkgwedge/files/pkgxmkmf.in
@@ -3,7 +3,7 @@
# XFree86 Id: xc/config/util/xmkmf.cpp,v 1.3 2000/11/16 21:57:10 dawes Exp
# XConsortium Id: xmkmf.cpp /main/22 1996/09/28 16:17:05 rws
#
-# $NetBSD: pkgxmkmf.in,v 1.3 2003/06/12 15:34:39 jschauma Exp $
+# $NetBSD: pkgxmkmf.in,v 1.4 2004/01/03 23:34:21 jlam Exp $
#
# make a Makefile from an Imakefile from inside or outside the sources
# with support for config files in ${PREFIX}/lib/X11/config
@@ -12,10 +12,14 @@ usage="usage: $0 [-a] [top_of_sources_pathname [current_directory]]"
xcfgdir=@X11BASE@/lib/X11/config
lcfgdir=@PREFIX@/lib/X11/config
+vcfgdir=@VIEWBASE@/lib/X11/config
configdirspec=''
if [ "${xcfgdir}" != "${lcfgdir}" -a -d ${lcfgdir} ]; then
configdirspec="${configdirspec} -I${lcfgdir}"
fi
+if [ "${lcfgdir}" != "${vcfgdir}" -a -d ${vcfgdir} ]; then
+ configdirspec="${configdirspec} -I${vcfgdir}"
+fi
configdirspec="${configdirspec} -I${xcfgdir}"
topdir=
diff --git a/pkgtools/xpkgwedge/files/xpkgwedge.def b/pkgtools/xpkgwedge/files/xpkgwedge.def
index 071082d3f3a..1dcb47b5b82 100644
--- a/pkgtools/xpkgwedge/files/xpkgwedge.def
+++ b/pkgtools/xpkgwedge/files/xpkgwedge.def
@@ -1,4 +1,4 @@
-/* $NetBSD: xpkgwedge.def,v 1.9 2003/09/10 17:31:44 gavan Exp $ */
+/* $NetBSD: xpkgwedge.def,v 1.10 2004/01/03 23:34:21 jlam Exp $ */
#ifdef AfterVendorCF
@@ -50,13 +50,13 @@ InstallNamedTargetNoClobber(install,file.ad,$(INSTAPPFLAGS),$(XAPPLOADDIR),class
#ifdef UseInstalled
/*
- * We need to redefine ImakeCmd so that imake will look in
- * $(PREFIX)/lib/X11/config *before* looking in the standard X
- * config directory to override any configuration files installed
- * there.
+ * We need to redefine ImakeCmd so that imake will look in both
+ * $(PREFIX)/lib/X11/config and $(VIEWBASE)/lib/X11/config *before*
+ * looking in the standard X11 config directory to override any
+ * configuration files installed there.
*/
#undef ImakeCmd
-#define ImakeCmd imake -I$(PREFIX)/lib/X11/config
+#define ImakeCmd imake -I$(PREFIX)/lib/X11/config -I$(VIEWBASE)/lib/X11/config
#endif
#endif /* AfterVendorCF */