summaryrefslogtreecommitdiff
path: root/graphics/yplot/patches/patch-aa
blob: 8831b88d5f4c59a8fc556eb227f74b0a59352f34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
$NetBSD: patch-aa,v 1.3 2001/04/02 00:56:02 jtb Exp $

--- Makefile.build.orig	Fri Sep  3 21:59:31 1999
+++ Makefile.build
@@ -8,8 +8,7 @@
 ROOT=
 
 # These flags needed to compile ps.c and ljiip.c driver routines
-CFLAGS = -O -DSTDC_HEADERS=1 -DPAD_ARRAY=1   -I. -I/usr/lib/yorick/1.4/h \
-	-I/usr/lib/plplot/include -DDOUBLE
+CFLAGS = -O -DSTDC_HEADERS=1 -DPAD_ARRAY=1   -I. -DDOUBLE
 
 ##############################################
 
@@ -46,7 +45,7 @@
 	"Nameclash! must get rid of Makefile so this can work"; false ; fi
 	yorick -batch make.i yplotl yplotl.i
 	mv -f Makefile Makefile_yplotl
-	make -f Makefile_yplotl
+	make -f Makefile_yplotl PKG_LIBS="`plplot-config --libs` -lyorm"
 
 ##############################################
 
@@ -64,7 +63,7 @@
 	"Nameclash! must get rid of Makefile so this can work"; false ; fi
 	yorick -batch make.i yplot yplot.i
 	mv -f Makefile Makefile_yplot
-	make -f Makefile_yplot
+	make -f Makefile_yplot PKG_LIBS="`plplot-config --libs` -lyorm"
 
 # generate doc/yplot.doc using local yplot and mkdoc
 doc/yplot.doc: yplot yplot_doc.csh