diff options
author | jschauma <jschauma@pkgsrc.org> | 2003-07-11 15:40:18 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2003-07-11 15:40:18 +0000 |
commit | b6fdd52c562634b8d2778af976029790226f87f3 (patch) | |
tree | 5e5661179dc42ad0ca1ca56ffbdfe08e18b340d8 /mk/bsd.pkg.mk | |
parent | 9f2160a3000acd190b804d0b4654a86ff2e8a239 (diff) | |
download | pkgsrc-b6fdd52c562634b8d2778af976029790226f87f3.tar.gz |
Rather than hardcoding IRIX into bsd.pkg.mk when checking if xpkgwedge is
needed let's use _OPSYS_NEEDS_XPKGWEDGE to be set in defs.${OPSYS}.mk
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r-- | mk/bsd.pkg.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 5d46104320f..86837970dc2 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1209 2003/07/10 23:10:07 grant Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1210 2003/07/11 15:40:18 jschauma Exp $ # # This file is in the public domain. # @@ -81,7 +81,8 @@ USE_X11?= implied # IRIX *always* needs xpkgwedge .if defined(USE_X11BASE) -. if ${OPSYS} == "IRIX" || \ +. if ( defined(_OPSYS_NEEDS_XPKGWEDGE) && \ + !empty(_OPSYS_NEEDS_XPKGWEDGE:M[yY][eE][sS]) ) || exists(${LOCALBASE}/lib/X11/config/xpkgwedge.def) || \ exists(${X11BASE}/lib/X11/config/xpkgwedge.def) BUILD_DEPENDS+= xpkgwedge>=1.5:../../pkgtools/xpkgwedge |