summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-01-12 19:02:34 +0000
committerjoerg <joerg@pkgsrc.org>2006-01-12 19:02:34 +0000
commitae610a4540040ada337fdff13a524e8ac3bb13e6 (patch)
tree04fd57818c554bc990c2832a29b0aa600d8631d3 /pkgtools
parent9acbdab5074ef610eebe68839a22aa9515c92b8d (diff)
downloadpkgsrc-ae610a4540040ada337fdff13a524e8ac3bb13e6.tar.gz
Add runtime dependency of xpkgwedge on imake and xmkmf.
When using non-native X11, xpkgwedge could be installed before imake and host.def en up with just the xpkgwedge.def include. This means that ProjectRoot as set by xorg's host.def is not used and wrong path names are used. This run time dependency is the easiest way to ensure proper order, but isn't perfect. Just providing a fixed host.def and a secondary include file for Lesstif to modify breaks with USE_XPKGWEDGE=NO, so keep the old approach. Discussed with jlam@
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/xpkgwedge/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgtools/xpkgwedge/Makefile b/pkgtools/xpkgwedge/Makefile
index 32da143ea57..7e03812874f 100644
--- a/pkgtools/xpkgwedge/Makefile
+++ b/pkgtools/xpkgwedge/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.63 2006/01/06 16:58:32 joerg Exp $
+# $NetBSD: Makefile,v 1.64 2006/01/12 19:02:34 joerg Exp $
-DISTNAME= xpkgwedge-1.14
+DISTNAME= xpkgwedge-1.15
CATEGORIES= pkgtools devel x11
MASTER_SITES= # empty
DISTFILES= # empty
@@ -19,6 +19,9 @@ NO_CONFIGURE= yes
NO_CHECKSUM= yes
.include "../../mk/bsd.prefs.mk"
+
+USE_TOOLS+= imake:run xmkmf:run
+
.if ${LOCALBASE} == ${X11BASE}
PKG_SKIP_REASON+= "xpkgwedge is not needed when X11BASE is LOCALBASE"
.endif