diff options
author | jschauma <jschauma> | 2003-06-12 15:27:08 +0000 |
---|---|---|
committer | jschauma <jschauma> | 2003-06-12 15:27:08 +0000 |
commit | 6f35a59aca531caad89ce24d74dd6d925a7840d0 (patch) | |
tree | 86072fc6856bebb774ba0ec6e0a129e5cff72e29 /mk/x11.buildlink2.mk | |
parent | 0f7853e3c1db28d553f0c701a569a2437cd31b5b (diff) | |
download | pkgsrc-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/x11.buildlink2.mk')
-rw-r--r-- | mk/x11.buildlink2.mk | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/mk/x11.buildlink2.mk b/mk/x11.buildlink2.mk index cc682d89d79..163b44cec4e 100644 --- a/mk/x11.buildlink2.mk +++ b/mk/x11.buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: x11.buildlink2.mk,v 1.3 2002/10/22 22:54:08 jlam Exp $ +# $NetBSD: x11.buildlink2.mk,v 1.4 2003/06/12 15:27:09 jschauma Exp $ # # This file is for internal use by bsd.buildlink2.mk and should _not_ be # include by package Makefiles. @@ -11,10 +11,14 @@ USE_X11_LINKS= no .include "../../mk/bsd.prefs.mk" -.if !empty(X11BASE:M*openwin) -. include "../../pkgtools/x11-links/openwin.buildlink2.mk" +.if ${OPSYS} == "IRIX" +. include "../../pkgtools/x11-links/xsgi.buildlink2.mk" .else -. include "../../pkgtools/x11-links/xfree.buildlink2.mk" +. if !empty(X11BASE:M*openwin) +. include "../../pkgtools/x11-links/openwin.buildlink2.mk" +. else +. include "../../pkgtools/x11-links/xfree.buildlink2.mk" +. endif .endif .endif # X11_BUILDLINK2_MK |