summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2003-06-12 15:27:09 +0000
committerjschauma <jschauma@pkgsrc.org>2003-06-12 15:27:09 +0000
commitd4fb078e456cd640d092a1cbe934cad372856ef6 (patch)
tree846f330952f2549489075413fda9672a01c19292
parent2227c5e7ae455b54544478c4ad27fdaa0f8c8f05 (diff)
downloadpkgsrc-d4fb078e456cd640d092a1cbe934cad372856ef6.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.
-rw-r--r--mk/IRIX.x11.dist569
-rw-r--r--mk/x11.buildlink2.mk24
-rw-r--r--mk/xaw.buildlink2.mk27
3 files changed, 620 insertions, 0 deletions
diff --git a/mk/IRIX.x11.dist b/mk/IRIX.x11.dist
new file mode 100644
index 00000000000..1428ed74c2f
--- /dev/null
+++ b/mk/IRIX.x11.dist
@@ -0,0 +1,569 @@
+# $NetBSD: IRIX.x11.dist,v 1.1.2.2 2003/06/12 15:27:09 jschauma Exp $
+# FreeBSD Id: BSD.x11.dist,v 1.2 1997/06/10 07:55:10 asami Exp
+#
+
+/set type=dir uname=root gname=sys mode=0755
+.
+ bin
+ ..
+ catman
+ u_man
+ cat1
+ ..
+ cat2
+ ..
+ cat3
+ ..
+ cat4
+ ..
+ cat5
+ ..
+ ..
+ p_man
+ cat1
+ ..
+ cat2
+ ..
+ cat3
+ ..
+ cat4
+ ..
+ cat5
+ ..
+ ..
+ ..
+ etc
+ rc.d
+ ..
+ ..
+ include
+ X11
+ ICE
+ ..
+ PEX5
+ ..
+ PM
+ ..
+ SM
+ ..
+ Xaw
+ ..
+ Xmu
+ ..
+ bitmaps
+ ..
+ extensions
+ ..
+ fonts
+ ..
+ pixmaps
+ ..
+ ..
+ ..
+ info
+ ..
+ lib
+ X11
+ XF86Setup
+ pics
+ ..
+ scripts
+ ..
+ tcllib
+ ..
+ ..
+ app-defaults
+ ..
+ config
+ ..
+ doc
+ ..
+ etc
+ ..
+ fonts
+ 100dpi
+ ..
+ 75dpi
+ ..
+ PEX
+ ..
+ Speedo
+ ..
+ Type1
+ ..
+ cyrillic
+ ..
+ local
+ ..
+ misc
+ ..
+ ..
+ fs
+ ..
+ lbxproxy
+ ..
+ locale
+ C
+ ..
+ en_US.utf
+ ..
+ iso8859-1
+ ..
+ iso8859-2
+ ..
+ iso8859-3
+ ..
+ iso8859-4
+ ..
+ iso8859-5
+ ..
+ iso8859-6
+ ..
+ iso8859-7
+ ..
+ iso8859-8
+ ..
+ iso8859-9
+ ..
+ ja
+ ..
+ ja.JIS
+ ..
+ ja.SJIS
+ ..
+ ko
+ ..
+ koi8-r
+ ..
+ tbl_data
+ ..
+ th_TH.TACTIS
+ ..
+ zh
+ ..
+ zh_TW
+ ..
+ ..
+ proxymngr
+ ..
+ rstart
+ commands
+ x11r6
+ ..
+ ..
+ contexts
+ ..
+ ..
+ twm
+ ..
+ x11perfcomp
+ ..
+ xdm
+ ..
+ xinit
+ ..
+ xkb
+ compat
+ ..
+ compiled
+ ..
+ geometry
+ digital
+ ..
+ sgi
+ ..
+ ..
+ keycodes
+ digital
+ ..
+ sgi
+ ..
+ ..
+ keymap
+ digital
+ ..
+ sgi
+ ..
+ sun
+ ..
+ ..
+ rules
+ ..
+ semantics
+ ..
+ symbols
+ digital
+ ..
+ fujitsu
+ ..
+ nec
+ ..
+ sony
+ ..
+ sun
+ ..
+ ..
+ ..
+ xserver
+ ..
+ xsm
+ ..
+ ..
+ modules
+ ..
+ ..
+ libexec
+ ..
+ man
+ u_man
+ man1
+ ..
+ man2
+ ..
+ man3
+ ..
+ man4
+ ..
+ man5
+ ..
+ man6
+ ..
+ man7
+ ..
+ man8
+ ..
+ man9
+ ..
+ ..
+ p_man
+ man1
+ ..
+ man2
+ ..
+ man3
+ ..
+ man4
+ ..
+ man5
+ ..
+ man6
+ ..
+ man7
+ ..
+ man8
+ ..
+ man9
+ ..
+ ..
+ ..
+ share
+ doc
+ html
+ ..
+ ..
+ examples
+ ..
+ fonts
+ ..
+ locale
+ am
+ LC_MESSAGES
+ ..
+ ..
+ ar
+ LC_MESSAGES
+ ..
+ ..
+ az
+ LC_MESSAGES
+ ..
+ ..
+ be
+ LC_MESSAGES
+ ..
+ ..
+ bg
+ LC_MESSAGES
+ ..
+ ..
+ bg_BG.cp1251
+ LC_MESSAGES
+ ..
+ ..
+ bs
+ LC_MESSAGES
+ ..
+ ..
+ ca
+ LC_MESSAGES
+ ..
+ ..
+ cs
+ LC_MESSAGES
+ ..
+ ..
+ da
+ LC_MESSAGES
+ ..
+ ..
+ de
+ LC_MESSAGES
+ ..
+ ..
+ de_DE
+ LC_MESSAGES
+ ..
+ ..
+ dk
+ LC_MESSAGES
+ ..
+ ..
+ ee
+ LC_MESSAGES
+ ..
+ ..
+ el
+ LC_MESSAGES
+ ..
+ ..
+ en
+ LC_MESSAGES
+ ..
+ ..
+ en_AU
+ LC_MESSAGES
+ ..
+ ..
+ en_GB
+ LC_MESSAGES
+ ..
+ ..
+ en_US
+ LC_MESSAGES
+ ..
+ ..
+ eo
+ LC_MESSAGES
+ ..
+ ..
+ es
+ LC_MESSAGES
+ ..
+ ..
+ es_AR
+ LC_MESSAGES
+ ..
+ ..
+ es_MX
+ LC_MESSAGES
+ ..
+ ..
+ et
+ LC_MESSAGES
+ ..
+ ..
+ eu
+ LC_MESSAGES
+ ..
+ ..
+ fi
+ LC_MESSAGES
+ ..
+ ..
+ fr
+ LC_MESSAGES
+ ..
+ ..
+ ga
+ LC_MESSAGES
+ ..
+ ..
+ gd
+ LC_MESSAGES
+ ..
+ ..
+ gl
+ LC_MESSAGES
+ ..
+ ..
+ hi
+ LC_MESSAGES
+ ..
+ ..
+ hr
+ LC_MESSAGES
+ ..
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+ LC_MESSAGES
+ ..
+ ..
+ zh_CN
+ LC_MESSAGES
+ ..
+ ..
+ zh_CN.GB2312
+ LC_MESSAGES
+ ..
+ ..
+ zh_TW
+ LC_MESSAGES
+ ..
+ ..
+ zh_TW.Big5
+ LC_MESSAGES
+ ..
+ ..
+ ..
+ pixmaps
+ ..
+ ..
+..
diff --git a/mk/x11.buildlink2.mk b/mk/x11.buildlink2.mk
new file mode 100644
index 00000000000..514d88cf775
--- /dev/null
+++ b/mk/x11.buildlink2.mk
@@ -0,0 +1,24 @@
+# $NetBSD: x11.buildlink2.mk,v 1.4.2.2 2003/06/12 15:27:10 jschauma Exp $
+#
+# This file is for internal use by bsd.buildlink2.mk and should _not_ be
+# include by package Makefiles.
+
+.if !defined(X11_BUILDLINK2_MK)
+X11_BUILDLINK2_MK= # defined
+
+USE_X11?= # defined
+USE_X11_LINKS= no
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "IRIX"
+. include "../../pkgtools/x11-links/xsgi.buildlink2.mk"
+.else
+. 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
diff --git a/mk/xaw.buildlink2.mk b/mk/xaw.buildlink2.mk
new file mode 100644
index 00000000000..633c29318d2
--- /dev/null
+++ b/mk/xaw.buildlink2.mk
@@ -0,0 +1,27 @@
+# $NetBSD: xaw.buildlink2.mk,v 1.10.2.2 2003/06/12 15:27:10 jschauma Exp $
+
+.if !defined(XAW_BUILDLINK2_MK)
+XAW_BUILDLINK2_MK= # defined
+
+# Pull in setting for XAW_TYPE.
+XAW_TYPE?= standard
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${XAW_TYPE} == "xpm"
+. include "../../x11/Xaw-Xpm/buildlink2.mk"
+BUILDLINK_PREFIX.Xaw?= ${BUILDLINK_PREFIX.Xaw-Xpm}
+.elif ${XAW_TYPE} == "3d"
+. include "../../x11/Xaw3d/buildlink2.mk"
+BUILDLINK_PREFIX.Xaw?= ${BUILDLINK_PREFIX.Xaw3d}
+.elif ${XAW_TYPE} == "neXtaw"
+. include "../../x11/neXtaw/buildlink2.mk"
+BUILDLINK_PREFIX.Xaw?= ${BUILDLINK_PREFIX.neXtaw}
+.else
+BUILDLINK_PREFIX.Xaw?= ${X11BASE}
+LIBXAW?= -L${X11BASE}/lib${ABI} -Wl,${RPATH_FLAG}${X11BASE}/lib${ABI} -lXaw
+.endif
+
+MAKE_ENV+= LIBXAW="${LIBXAW}"
+
+.endif # XAW_BUILDLINK2_MK