summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authorjschauma <jschauma>2003-06-12 15:27:08 +0000
committerjschauma <jschauma>2003-06-12 15:27:08 +0000
commit6f35a59aca531caad89ce24d74dd6d925a7840d0 (patch)
tree86072fc6856bebb774ba0ec6e0a129e5cff72e29 /mk/bsd.pkg.mk
parent0f7853e3c1db28d553f0c701a569a2437cd31b5b (diff)
downloadpkgsrc-6f35a59aca531caad89ce24d74dd6d925a7840d0.tar.gz
Initiate support for X11 apps under IRIX.
We introduce two new variables: ABI and IMAKEOPTS ABI determines the correct ABI to use and is set during bootstrapping from /etc/compiler.defaults. IMAKEOPTS are the options passed to imake to allow it to set the right definitions and find the right paths etc. Use IMAKEOPTS with SunOS, too. IRIX will always require xpkgwedge, since it's got a bogus X11BASE. When linking against libXaw, make sure we get the right ABI.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index c9674765b90..55be08d831a 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1194 2003/06/10 06:01:12 grant Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1195 2003/06/12 15:27:08 jschauma Exp $
#
# This file is in the public domain.
#
@@ -79,8 +79,10 @@ PLIST_SUBST+= IMAKE_MAN_SOURCE_PATH=${IMAKE_MAN_SOURCE_PATH} \
USE_X11?= implied
.endif
+# IRIX *always* needs xpkgwedge
.if defined(USE_X11BASE)
-. if exists(${LOCALBASE}/lib/X11/config/xpkgwedge.def) || \
+. if ${OPSYS} == "IRIX" || \
+ exists(${LOCALBASE}/lib/X11/config/xpkgwedge.def) || \
exists(${X11BASE}/lib/X11/config/xpkgwedge.def)
BUILD_DEPENDS+= xpkgwedge>=1.5:../../pkgtools/xpkgwedge
BUILDLINK_X11PKG_DIR= ${LOCALBASE}