From 0fdc69d91ceadb27d71f6f5e395f37beeb41038d Mon Sep 17 00:00:00 2001 From: agc Date: Thu, 6 Nov 1997 12:53:18 +0000 Subject: Add a patch for NetBSD to: + set correct path for xpm.h + force building and installation of static libXpm.a --- graphics/xpm/patches/patch-aa | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 graphics/xpm/patches/patch-aa (limited to 'graphics/xpm') diff --git a/graphics/xpm/patches/patch-aa b/graphics/xpm/patches/patch-aa new file mode 100644 index 00000000000..dd68266684b --- /dev/null +++ b/graphics/xpm/patches/patch-aa @@ -0,0 +1,26 @@ +--- lib/Imakefile 1997/11/06 11:09:44 1.1 ++++ lib/Imakefile 1997/11/06 11:10:29 +@@ -34,8 +34,12 @@ + #define XpmLibDir $(USRLIBDIR) + #endif + #ifndef XpmIncDir ++#if defined(NetBSDArchitecture) ++#define XpmIncDir $(INCROOT) ++#else + #define XpmIncDir $(INCDIR) + #endif ++#endif + + XCOMM If not already set in top dir, + XCOMM you can uncomment the following line to avoid building the shared lib +@@ -44,6 +48,10 @@ + #ifndef SharedLibXpm + # define SharedLibXpm (HasSharedLibraries && \ + !(defined(SGIArchitecture) && !SystemV4)) ++#endif ++ ++#if defined(NetBSDArchitecture) ++#define NormalLibXpm 1 + #endif + + #ifndef NormalLibXpm -- cgit v1.2.3