diff options
author | dmcmahill <dmcmahill> | 2005-04-14 01:41:27 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2005-04-14 01:41:27 +0000 |
commit | f66f593f12f8341ecf5c4a787d1810e112518faa (patch) | |
tree | 74df5eb34cd799282c8335ebdfc43809ac611d52 | |
parent | 4ca4fcde96414f33192549cced00e0299f968259 (diff) | |
download | pkgsrc-f66f593f12f8341ecf5c4a787d1810e112518faa.tar.gz |
One more try at getting this right on solaris. The last patches fixed
things when X is openwin but broke the pkg for XFree86 and probably Xorg.
So conditionalize things on X being openwin for SunArchitecture.
-rw-r--r-- | x11/Xaw3d/Makefile | 6 | ||||
-rw-r--r-- | x11/Xaw3d/distinfo | 4 | ||||
-rw-r--r-- | x11/Xaw3d/patches/patch-aa | 12 |
3 files changed, 15 insertions, 7 deletions
diff --git a/x11/Xaw3d/Makefile b/x11/Xaw3d/Makefile index c4651035a2a..af7682b7e7c 100644 --- a/x11/Xaw3d/Makefile +++ b/x11/Xaw3d/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.42 2005/04/11 21:48:04 tv Exp $ +# $NetBSD: Makefile,v 1.43 2005/04/14 01:41:27 dmcmahill Exp $ # DISTNAME= Xaw3d-1.5E @@ -22,8 +22,12 @@ PLIST_SRC= ${WRKDIR}/PLIST-src .if empty(X11BASE:M*openwin) post-extract: @(cd ${WRKSRC}; ${LN} -s .. X11) +.else +IMAKE_FLAGS+= -DXISOPENWIN .endif +XMKMF+= ${IMAKE_FLAGS} + PLIST_SUBST+= INCDIR=include/X11 post-install: diff --git a/x11/Xaw3d/distinfo b/x11/Xaw3d/distinfo index 992b86da01f..3be9e9ea9d6 100644 --- a/x11/Xaw3d/distinfo +++ b/x11/Xaw3d/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.7 2005/03/01 22:55:26 dmcmahill Exp $ +$NetBSD: distinfo,v 1.8 2005/04/14 01:41:27 dmcmahill Exp $ SHA1 (Xaw3d-1.5E.tar.gz) = efc5b923feda52866c859c59a5b553cb675a69d1 RMD160 (Xaw3d-1.5E.tar.gz) = 086cbabaa45ce5c110815aea24eebcbb54613118 Size (Xaw3d-1.5E.tar.gz) = 309264 bytes -SHA1 (patch-aa) = 1f9fbc5c21ea0658b95332e0fc951a407fc0e8a7 +SHA1 (patch-aa) = 7729cfe83671f482670350ead9ccf1bfe3e932e3 SHA1 (patch-ab) = 9bbe44041708b2d01b728638ac07e32addc01cff diff --git a/x11/Xaw3d/patches/patch-aa b/x11/Xaw3d/patches/patch-aa index c3805add7e2..664fe1d559c 100644 --- a/x11/Xaw3d/patches/patch-aa +++ b/x11/Xaw3d/patches/patch-aa @@ -1,6 +1,6 @@ -$NetBSD: patch-aa,v 1.10 2005/03/01 22:55:26 dmcmahill Exp $ +$NetBSD: patch-aa,v 1.11 2005/04/14 01:41:27 dmcmahill Exp $ ---- Imakefile.orig 2003-03-08 15:55:18.000000000 +0100 +--- Imakefile.orig 2003-03-08 09:55:18.000000000 -0500 +++ Imakefile @@ -9,7 +9,7 @@ XCOMM For color pixmaps, define MULTIPLA XCOMM For grayed stipple shadows, define GRAY_BLKWHT_STIPPLES: @@ -11,12 +11,16 @@ $NetBSD: patch-aa,v 1.10 2005/03/01 22:55:26 dmcmahill Exp $ #define DoNormalLib NormalLibXaw #define DoSharedLib SharedLibXaw -@@ -18,11 +18,19 @@ XCOMM For scrollbars with arrows, define +@@ -18,11 +18,23 @@ XCOMM For scrollbars with arrows, define #define HasSharedData YES #define LibName Xaw3d #define SoRev SOXAWREV +#ifdef SunArchitecture -+#define IncSubdir Xaw3d ++# ifdef XISOPENWIN ++# define IncSubdir Xaw3d ++# else ++# define IncSubdir X11/Xaw3d ++# endif +#else +#ifdef SGIArchitecture +#define IncSubdir Xaw3d |