summaryrefslogtreecommitdiff
path: root/graphics/plplot
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2001-02-26 21:42:16 +0000
committerjtb <jtb@pkgsrc.org>2001-02-26 21:42:16 +0000
commit4911d745fc8e79f38b251c182cc558d0c8f30599 (patch)
tree3773475420c2953ad43e1e8ddb6db2a45d345d5e /graphics/plplot
parentba49fd45486dc80e1517d580ba1aa56727ce37cc (diff)
downloadpkgsrc-4911d745fc8e79f38b251c182cc558d0c8f30599.tar.gz
Include <sys/types.h>. Add -Dunix to CPPFLAGS. This might fix Alpha bulk
build problem.
Diffstat (limited to 'graphics/plplot')
-rw-r--r--graphics/plplot/Makefile5
-rw-r--r--graphics/plplot/files/patch-sum4
-rw-r--r--graphics/plplot/patches/patch-ab24
3 files changed, 16 insertions, 17 deletions
diff --git a/graphics/plplot/Makefile b/graphics/plplot/Makefile
index b4696177fd4..732bdeae704 100644
--- a/graphics/plplot/Makefile
+++ b/graphics/plplot/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2001/02/25 21:08:58 jtb Exp $
+# $NetBSD: Makefile,v 1.10 2001/02/26 21:42:16 jtb Exp $
DISTNAME= plplot-5.0.2
CATEGORIES= graphics
@@ -48,6 +48,9 @@ CONFIGURE_ARGS+="--disable-python"
CONFIGURE_ARGS+="--disable-itcl"
CONFIGURE_ARGS+="--disable-dp"
+CPPFLAGS+= -Dunix
+CONFIGURE_ENV+= "CPPFLAGS=${CPPFLAGS}"
+
post-patch:
for f in ${WRKSRC}/src/plctrl.c ; do \
${SED} -e 's:@PREFIX@:'${PREFIX}':g' \
diff --git a/graphics/plplot/files/patch-sum b/graphics/plplot/files/patch-sum
index a2f9e2dac9f..49517938f77 100644
--- a/graphics/plplot/files/patch-sum
+++ b/graphics/plplot/files/patch-sum
@@ -1,6 +1,6 @@
-$NetBSD: patch-sum,v 1.7 2001/02/15 07:42:08 jtb Exp $
+$NetBSD: patch-sum,v 1.8 2001/02/26 21:42:16 jtb Exp $
-MD5 (patch-ab) = 4e19a8510c846a9c778c29abb42a8032
+MD5 (patch-ab) = 4505a2adb49257a615bcee6198aa7806
MD5 (patch-ac) = ae72234724c290fd1a3600554b8f1630
MD5 (patch-ad) = a0de2d4f3c7c649d6299aa03f71113cc
MD5 (patch-ae) = 26912afb861085e6e249e63909b7e6d0
diff --git a/graphics/plplot/patches/patch-ab b/graphics/plplot/patches/patch-ab
index ca691de51dc..a66d503923e 100644
--- a/graphics/plplot/patches/patch-ab
+++ b/graphics/plplot/patches/patch-ab
@@ -1,22 +1,18 @@
-$NetBSD: patch-ab,v 1.1.1.1 2000/12/02 05:40:33 jtb Exp $
+$NetBSD: patch-ab,v 1.2 2001/02/26 21:42:16 jtb Exp $
---- include/plplot.h.orig Sat May 6 19:27:21 1995
+--- include/plplot.h.orig Fri Feb 9 21:57:38 2001
+++ include/plplot.h
-@@ -125,12 +125,7 @@
- * (others...)
- *
- \*--------------------------------------------------------------------------*/
--
--#ifdef unix /* the old way */
--#ifndef __unix
--#define __unix
--#endif
--#endif
-+#include <sys/param.h>
+@@ -81,6 +81,9 @@
+ #endif
+ #endif
++#include <sys/types.h>
++#include <sys/param.h>
++
/* Make sure Unix systems define "__unix" */
-@@ -140,7 +135,8 @@
+ #if defined(SX) || /* NEC Super-UX */ \
+@@ -89,7 +92,8 @@
defined(sun) || /* SUN */ \
defined(CRAY) || /* Cray */ \
defined(__convexc__) || /* CONVEX */ \