summaryrefslogtreecommitdiff
path: root/graphics/xpm
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1997-11-06 12:53:18 +0000
committeragc <agc@pkgsrc.org>1997-11-06 12:53:18 +0000
commit9e0dc8a157d4bd8aa920ce190fd1f00a4d1877d2 (patch)
tree916566e6bddad579f55612f01d8689530911556e /graphics/xpm
parent8e2f83d87a2c5aca6a122c63610c7bb278f67b26 (diff)
downloadpkgsrc-9e0dc8a157d4bd8aa920ce190fd1f00a4d1877d2.tar.gz
Add a patch for NetBSD to:
+ set correct path for xpm.h + force building and installation of static libXpm.a
Diffstat (limited to 'graphics/xpm')
-rw-r--r--graphics/xpm/patches/patch-aa26
1 files changed, 26 insertions, 0 deletions
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