summaryrefslogtreecommitdiff
path: root/graphics/netpbm
diff options
context:
space:
mode:
authoragc <agc>1997-10-15 15:42:54 +0000
committeragc <agc>1997-10-15 15:42:54 +0000
commitf3a521e9dda04d487b4c258027c90aec3a7f80c5 (patch)
tree58c3f2b71fb714c417e10d7cc5b97f210257aed2 /graphics/netpbm
parent14cfbab4a54c5e08bf52c5e07829d47f6edbb862 (diff)
downloadpkgsrc-f3a521e9dda04d487b4c258027c90aec3a7f80c5.tar.gz
/usr/local -> /usr/pkg (like the amanda package, we need to preprocess
this). NetBSD defines sys_errlist in <errno.h>, so include this file if we're on NetBSD.
Diffstat (limited to 'graphics/netpbm')
-rw-r--r--graphics/netpbm/patches/patch-ad19
1 files changed, 16 insertions, 3 deletions
diff --git a/graphics/netpbm/patches/patch-ad b/graphics/netpbm/patches/patch-ad
index c9161fd6873..961b370f955 100644
--- a/graphics/netpbm/patches/patch-ad
+++ b/graphics/netpbm/patches/patch-ad
@@ -68,7 +68,7 @@
*/
+/*
+ * Note: I changed this file and some Imakefiles to use the installed
-+ * libtiff in /usr/local instad FreeBSD. - Satoshi
++ * libtiff in /usr/pkg instad FreeBSD. - Satoshi
+ */
#ifndef BuildLibTiff
#define BuildLibTiff YES
@@ -109,10 +109,10 @@
#endif
#ifndef TiffDir
-#define TiffDir TOPDIR/libtiff
-+#define TiffDir /usr/local/lib
++#define TiffDir /usr/pkg/lib
+#endif
+#ifndef TiffIncDir
-+#define TiffIncDir /usr/local/include
++#define TiffIncDir /usr/pkg/include
#endif
/* Libraries: */
@@ -241,3 +241,16 @@
#endif
#if InstallLibraries
+--- pbm/libpbm1.c 1997/10/15 15:28:18 1.1
++++ pbm/libpbm1.c 1997/10/15 15:28:44
+@@ -20,6 +20,10 @@
+ #include <varargs.h>
+ #endif /*__STDC__*/
+
++#ifdef __NetBSD__
++#include <errno.h>
++#endif
++
+
+ /* Variable-sized arrays. */
+