summaryrefslogtreecommitdiff
path: root/graphics/Ngraph/patches
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2003-11-08 10:13:10 +0000
committerxtraeme <xtraeme>2003-11-08 10:13:10 +0000
commita9dd03641bb3b9fb1d6655aa4ca49f2438216e5b (patch)
tree7f65ebc265fe1c4f4a4027a7ca91318557ea418d /graphics/Ngraph/patches
parentc01cf2f6b385acc56eb883ed43d3ca07f0ceeabe (diff)
downloadpkgsrc-a9dd03641bb3b9fb1d6655aa4ca49f2438216e5b.tar.gz
Upgrade to 6.3.20. Update provided by Osamu OISHI in PR pkg/22800.
No Changelog available on the website/sources.
Diffstat (limited to 'graphics/Ngraph/patches')
-rw-r--r--graphics/Ngraph/patches/patch-aa48
-rw-r--r--graphics/Ngraph/patches/patch-ab21
2 files changed, 16 insertions, 53 deletions
diff --git a/graphics/Ngraph/patches/patch-aa b/graphics/Ngraph/patches/patch-aa
index 49345ca257f..6a208157da4 100644
--- a/graphics/Ngraph/patches/patch-aa
+++ b/graphics/Ngraph/patches/patch-aa
@@ -1,63 +1,47 @@
-$NetBSD: patch-aa,v 1.3 2002/09/22 00:06:23 jlam Exp $
+$NetBSD: patch-aa,v 1.4 2003/11/08 10:13:10 xtraeme Exp $
---- Makefile.orig Sat Oct 16 06:00:08 1999
-+++ Makefile
-@@ -1,27 +1,43 @@
+--- Makefile.orig 2003-11-08 10:28:29.000000000 +0100
++++ Makefile 2003-11-08 10:32:33.000000000 +0100
+@@ -1,26 +1,26 @@
#
MAINVERSION = '"6.03"'
- GUIVERSION = '".06"'
+ GUIVERSION = '".20"'
-LIBDIR = '"/usr/local/lib/Ngraph"'
-INSTALLDIR = /usr/local/lib/Ngraph
-BINDIR = /usr/local/bin
+LIBDIR = '"${PREFIX}/libexec/Ngraph"'
-+INSTALLDIR = ${PREFIX}/libexec/Ngraph
++INSTALLDIR =${PREFIX}/libexec/Ngraph
+BINDIR = ${PREFIX}/bin
#
#
###############################################################################
#
--# Linux + Motif 2.1 (RedHat) [static link]
+-# Linux + Open Motif 2.1 [dynamic link]
+# NetBSD + lesstif/openmotif [dynamic link]
#
- CC = gcc
+-CC = gcc
-CCOPTION = -O2 -m486
-MAKE = make
++#CC = gcc
+CCOPTION = ${CFLAGS}
++#MAKE = make
AR = ar
RANLIB = ranlib
STRIP = strip
-DEFS = -DJAPANESE
--PLATFORM = '"for X11 [Linux(glibc2)+Motif2.1]"'
+-PLATFORM = '"for X11 [Linux(glibc2) + Open Motif]"'
+-X11INCLUDE = -I/usr/X11R6/include
+-STATICLINK =
+-X11LIB = -L/usr/X11R6/lib -lm -lXm -lXext -lXt -lXp -lX11 -lICE -lSM
+DEFS = ${MOTIF_DEFS}
+PLATFORM = '"for X11 [NetBSD + OpenMotif/LessTif]"'
+X11INCLUDE = -I${X11BASE}/include -I../combo
+STATICLINK = ./combo/ComboBox.o
+X11LIB = ${LDFLAGS} ${MOTIFLIB} -lm -lXext -lXt -lXp -lX11 -lICE -lSM
-+#
-+#
-+###############################################################################
-+#
-+# Linux + Motif 2.1 (RedHat) [static link]
-+#
-+#CC = gcc
-+#CCOPTION = -O2 -m486
-+#MAKE = make
-+#AR = ar
-+#RANLIB = ranlib
-+#STRIP = strip
-+#DEFS = -DJAPANESE
-+#PLATFORM = '"for X11 [Linux(glibc2)+Motif2.1]"'
- #PLATFORM = '"for X11 [Linux(libc5)+Motif2.1]"'
--X11INCLUDE = -I/usr/X11R6/include
--STATICLINK = /usr/X11R6/lib/libXm.a
--X11LIB = -L/usr/X11R6/lib -lm -lXext -lXt -lXp -lX11 -lICE -lSM
-+#X11INCLUDE = -I/usr/X11R6/include
-+#STATICLINK = /usr/X11R6/lib/libXm.a
-+#X11LIB = -L/usr/X11R6/lib -lm -lXext -lXt -lXp -lX11 -lICE -lSM
#
#
###############################################################################
-@@ -154,6 +170,7 @@
+@@ -170,6 +170,7 @@
OBJECT = x11/main.o x11/x11.a src/kern.a
all:
@@ -65,7 +49,7 @@ $NetBSD: patch-aa,v 1.3 2002/09/22 00:06:23 jlam Exp $
(cd src; $(MAKE) kern.a)
(cd x11; $(MAKE) main.o)
(cd x11; $(MAKE) x11.a)
-@@ -196,6 +213,7 @@
+@@ -212,6 +213,7 @@
- (cd x11; $(MAKE) clean)
- (cd x11drive; $(MAKE) clean)
- (cd x11addin; $(MAKE) clean)
diff --git a/graphics/Ngraph/patches/patch-ab b/graphics/Ngraph/patches/patch-ab
deleted file mode 100644
index b9563b84713..00000000000
--- a/graphics/Ngraph/patches/patch-ab
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 1999/11/25 08:17:15 sakamoto Exp $
-
---- Ngraph.ini.orig Tue Nov 16 17:23:02 1999
-+++ Ngraph.ini Tue Nov 16 17:27:29 1999
-@@ -23,11 +23,11 @@
- script=TEXT-IN: insert legend-text,text-in.nsc,
- script=CALC: making a data file,calc.nsc,
- script=FFT: Fast Fourier Transform,fft.nsc,
--ext_driver=PostScript(EPSF),gra2ps,-e -c
--ext_driver=PostScript,gra2ps,-c
--prn_driver=PostScript (mono),gra2ps, | lpr,
--prn_driver=PostScript (color),gra2ps, | lpr,-c
--prn_driver=GhostScript,gra2ps, | gs -,-c
-+ext_driver=PostScript(EPSF),gra2ps,-e -c -i INSTALLDIR/Ngraph.ps
-+ext_driver=PostScript,gra2ps,-c -i INSTALLDIR/Ngraph.ps
-+prn_driver=PostScript (mono),gra2ps, | lpr, -i INSTALLDIR/Ngraph.ps
-+prn_driver=PostScript (color),gra2ps, | lpr,-c -i INSTALLDIR/Ngraph.ps
-+prn_driver=GhostScript,gra2ps, | gs -q -sDEVICE=x11 -sOutputFile=- -dNOPAUSE - ,-c -i INSTALLDIR/Ngraph.ps
- font_map=Times,0,-adobe-times-medium-r-normal--*-*-75-75-p-*-iso8859-1
- font_map=TimesBold,0,-adobe-times-bold-r-normal--*-*-75-75-p-*-iso8859-1
- font_map=TimesItalic,0,-adobe-times-medium-i-normal--*-*-75-75-p-*-iso8859-1