summaryrefslogtreecommitdiff
path: root/biology/gp/patches
diff options
context:
space:
mode:
Diffstat (limited to 'biology/gp/patches')
-rw-r--r--biology/gp/patches/patch-aa37
-rw-r--r--biology/gp/patches/patch-ab21
2 files changed, 58 insertions, 0 deletions
diff --git a/biology/gp/patches/patch-aa b/biology/gp/patches/patch-aa
new file mode 100644
index 00000000000..3544d8ba74f
--- /dev/null
+++ b/biology/gp/patches/patch-aa
@@ -0,0 +1,37 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/09/26 03:30:00 jschauma Exp $
+
+--- Makefile.orig Thu May 17 13:27:07 2001
++++ Makefile
+@@ -5,20 +5,20 @@
+ ######################################################################
+ # Change the following to suit your needs
+
+-SHELL=/bin/bash
++SHELL=${SH}
+
+ # The directory root of your installation
+ # If you make a personal installation, change it to your home directory
+ # Default: /usr
+ # uncomment the following line to install to the default directories...
+-TREE=/usr
++TREE=${PREFIX}
+ # ...or the following line to install into your home directory:
+ # TREE=$(HOME)
+
+ # if you don't have the gd graphic library installed, you have to comment out or
+ # delete the following line. However, gp_map is such a nice program, so you
+ # better go to www.boutell.com and download the gd library.
+-GDPROGRAMS=gp_map
++# GDPROGRAMS=gp_map
+
+ # Directory to install the programs themselves.
+ # Default: /usr/local/bin
+@@ -28,7 +28,7 @@ BINDIR=$(TREE)/bin
+ MANDIR=$(TREE)/man
+
+ #directory to install the data directory
+-DATADIR=$(TREE)/lib
++DATADIR=$(TREE)/share/examples
+
+ # documentation.
+ # If you want to install documents automagically, type:
diff --git a/biology/gp/patches/patch-ab b/biology/gp/patches/patch-ab
new file mode 100644
index 00000000000..d45c803973f
--- /dev/null
+++ b/biology/gp/patches/patch-ab
@@ -0,0 +1,21 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/09/26 03:30:00 jschauma Exp $
+
+--- src/Makefile.orig 2001-05-17 15:27:06.000000000 -0400
++++ src/Makefile 2003-09-25 23:22:01.000000000 -0400
+@@ -5,14 +5,13 @@
+ ######################################################################
+ # Change the following to suit your needs
+
+-SHELL=/bin/bash
+-CC=gcc
++SHELL=${SH}
+ LIBS= -lz -lm
+ #CFLAGS= -DNLS -DGZ
+
+ all: $(PROGRAMS) $(GPPROGRAMS)
+
+-$(PROGRAMS): gp%: gp%.o genpak.h genpak.o
++$(PROGRAMS): gp*: gp*.c genpak.h genpak.o
+ @echo Creating $@
+ $(CC) $(CFLAGS) -o $@ genpak.o $< $(LIBS)
+