diff options
author | schwarz <schwarz@pkgsrc.org> | 2006-09-10 13:44:58 +0000 |
---|---|---|
committer | schwarz <schwarz@pkgsrc.org> | 2006-09-10 13:44:58 +0000 |
commit | dd2de6f7efa3a63b8b259ce7c4f8a485921c9999 (patch) | |
tree | 6a49cd33cc7ff856cb2ef0487e179ce58455d4d9 | |
parent | 1fed2c560667edad7f75cc7a754dbb1baf3598cf (diff) | |
download | pkgsrc-dd2de6f7efa3a63b8b259ce7c4f8a485921c9999.tar.gz |
improve imake support on IRIX 5
-rw-r--r-- | mk/platform/IRIX.mk | 6 | ||||
-rw-r--r-- | pkgtools/xpkgwedge/files/irix5.patch | 22 |
2 files changed, 11 insertions, 17 deletions
diff --git a/mk/platform/IRIX.mk b/mk/platform/IRIX.mk index 16bc9193cac..907a07e0bed 100644 --- a/mk/platform/IRIX.mk +++ b/mk/platform/IRIX.mk @@ -1,4 +1,4 @@ -# $NetBSD: IRIX.mk,v 1.26 2006/07/20 20:02:23 jlam Exp $ +# $NetBSD: IRIX.mk,v 1.27 2006/09/10 13:44:58 schwarz Exp $ # # Variable definitions for the IRIX operating system. @@ -9,9 +9,6 @@ IMAKEOPTS+= -DManUsr=${PREFIX} .if empty(OS_VERSION:M6*) IMAKEOPTS+= -DShLibDir=${X11BASE}/lib IMAKEOPTS+= -DOptimizerLevel="${CFLAGS}" -IMAKEOPTS+= -DManDir=${PREFIX}/${IMAKE_MAN_DIR} -IMAKEOPTS+= -DLibmanDir=${PREFIX}/${IMAKE_LIBMAN_DIR} -IMAKEOPTS+= -DFileManDir=${PREFIX}/${IMAKE_FILEMAN_DIR} IMAKEOPTS+= -DManPath=${PREFIX}/man .endif PKGLOCALEDIR?= share @@ -62,6 +59,7 @@ IMAKE_MANNEWSUFFIX?= ${IMAKE_MAN_SUFFIX} MAKE_ENV+= GZIP_CMD="${GZIP_CMD}" USE_TOOLS+= gzip MANCOMPRESSED= yes +MANZ= yes . endif .endif diff --git a/pkgtools/xpkgwedge/files/irix5.patch b/pkgtools/xpkgwedge/files/irix5.patch index 172aa3d7a81..2075cbe51e7 100644 --- a/pkgtools/xpkgwedge/files/irix5.patch +++ b/pkgtools/xpkgwedge/files/irix5.patch @@ -1,7 +1,7 @@ -$NetBSD: irix5.patch,v 1.2 2006/09/09 20:31:46 schwarz Exp $ +$NetBSD: irix5.patch,v 1.3 2006/09/10 13:44:58 schwarz Exp $ --- sgi.cf.orig 2006-09-09 17:13:25.000000000 +0200 -+++ sgi.cf 2006-09-09 17:52:40.000000000 +0200 ++++ sgi.cf 2006-09-10 10:15:18.000000000 +0200 @@ -178,8 +178,10 @@ #define AsCmd $(TOOLROOT)/usr/bin/as #define CcCmd $(TOOLROOT)/usr/bin/cc @@ -29,18 +29,14 @@ $NetBSD: irix5.patch,v 1.2 2006/09/09 20:31:46 schwarz Exp $ /* * If we specify -nostdlib, we must supply the complete library -@@ -252,23 +256,25 @@ +@@ -252,23 +256,19 @@ #define ManSuffix 1 #define LibManSuffix 3 -#undef ManDir -#undef LibmanDir -+#ifndef ManDir - #define ManDir $(CATMAN1DIR)$(MANPACKAGE) -+#endif -+#ifndef LibmanDir - #define LibmanDir $(CATMAN3DIR)$(MANPACKAGE) -+#endif +-#define ManDir $(CATMAN1DIR)$(MANPACKAGE) +-#define LibmanDir $(CATMAN3DIR)$(MANPACKAGE) #define NroffManDir $(MAN1DIR)$(MANPACKAGE) #define NroffLibmanDir $(MAN3DIR)$(MANPACKAGE) @@ -62,7 +58,7 @@ $NetBSD: irix5.patch,v 1.2 2006/09/09 20:31:46 schwarz Exp $ /* * MANPACKAGE is the directory inside of cat? or man? that man pages should -@@ -281,22 +287,22 @@ +@@ -281,22 +281,22 @@ * InstallManPageLong - misc changes for sgi. */ #define InstallManPageLong(file,destdir,dest) @@\ @@ -82,7 +78,7 @@ $NetBSD: irix5.patch,v 1.2 2006/09/09 20:31:46 schwarz Exp $ if [ -f file.man ]; then \ @@\ $(INSTALL) -c $(INSTMANFLAGS) \ @@\ - file.nr.z $(DESTDIR)destdir/dest.z; \ @@\ -+ file.nr.gz $(DESTDIR)destdir/dest.1.gz; \ @@\ ++ file.nr.gz $(DESTDIR)destdir/dest.$(MANSUFFIX).gz; \ @@\ fi @@\ @@\ clean:: @@\ @@ -91,8 +87,8 @@ $NetBSD: irix5.patch,v 1.2 2006/09/09 20:31:46 schwarz Exp $ /* * InstallManPageAliases - generate rules to install manual page aliases. ---- sgiLib.rules.orig 2006-09-09 20:47:39.000000000 +0200 -+++ sgiLib.rules 2006-09-09 20:49:47.000000000 +0200 +--- sgiLib.rules.orig 2006-09-10 10:29:23.000000000 +0200 ++++ sgiLib.rules 2006-09-09 21:06:23.000000000 +0200 @@ -97,8 +97,8 @@ $(INSTALL) -c $(INSTLIBFLAGS) Concat4(lib,libname,.so,rev) \ @@\ $(DESTDIR)dest ; \ @@\ |