summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2004-04-30 19:45:29 +0000
committertv <tv@pkgsrc.org>2004-04-30 19:45:29 +0000
commit5f829f330ee24995060f5e21e24362ac112a8195 (patch)
treecfad25e88cf9903189baa64ea4b16d3f1863d822 /mk
parenta499adfb3b3e6ee363a827cbca8b19ec9ec24441 (diff)
downloadpkgsrc-5f829f330ee24995060f5e21e24362ac112a8195.tar.gz
Add an explicit DEPENDS on xpkgwedge-1.10 if USE_X11BASE is defined
(as 1.9 is not good enough).
Diffstat (limited to 'mk')
-rw-r--r--mk/defs.Interix.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/defs.Interix.mk b/mk/defs.Interix.mk
index 3339537da78..db670604481 100644
--- a/mk/defs.Interix.mk
+++ b/mk/defs.Interix.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.Interix.mk,v 1.20 2004/04/28 11:11:19 tv Exp $
+# $NetBSD: defs.Interix.mk,v 1.21 2004/04/30 19:45:29 tv Exp $
#
# Variable definitions for the Interix operating system.
@@ -137,6 +137,11 @@ _PREFORMATTED_MAN_DIR= cat # directory where catman pages are
_USE_GNU_GETTEXT= yes # gettext not in base system
_USE_RPATH= yes # add rpath to LDFLAGS
+# Ensure that USE_X11BASE programs get an xpkgwedge new enough to work.
+_OPSYS_NEEDS_XPKGWEDGE= yes # xpkgwedge is required for X11
+_XPKGWEDGE_DEPENDS= xpkgwedge>=1.10:../../pkgtools/xpkgwedge
+BUILD_DEPENDS+= ${USE_X11BASE:D${_XPKGWEDGE_DEPENDS}}
+
# flags passed to the linker to extract all symbols from static archives.
# this is GNU ld.
_OPSYS_WHOLE_ARCHIVE_FLAG= -Wl,--whole-archive