summaryrefslogtreecommitdiff
path: root/biology/xylem/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'biology/xylem/patches/patch-ab')
-rw-r--r--biology/xylem/patches/patch-ab76
1 files changed, 76 insertions, 0 deletions
diff --git a/biology/xylem/patches/patch-ab b/biology/xylem/patches/patch-ab
new file mode 100644
index 00000000000..274bffe0159
--- /dev/null
+++ b/biology/xylem/patches/patch-ab
@@ -0,0 +1,76 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/10/04 19:13:33 jschauma Exp $
+
+--- Makefile.orig 2000-08-17 12:17:18.000000000 -0400
++++ Makefile 2003-09-28 17:05:26.000000000 -0400
+@@ -6,9 +6,9 @@
+ LDLIB = .
+ LIBOBJS = p2clib.o
+ #CC= gcc
+-CC= cc
+-CFLAGS= -O -L$(LDLIB) -lp2c -lm -I$(INCLIB)
+-LFLAGS= -c
++#CC= cc
++MYCFLAGS= -O -L$(LDLIB) -lp2c -lm -I$(INCLIB)
++LFLAGS+= -c
+
+ PROGS= dbstat getloc getob identify prot2nuc reform ribosome splitdb shuffle flat2phyl phyl2flat
+
+@@ -22,45 +22,45 @@
+
+ # Making the p2c runtime library
+ libp2c.a: $(LIBOBJS)
+- ar r libp2c.a $(LIBOBJS); ranlib libp2c.a
++ ${AR} r libp2c.a $(LIBOBJS); ranlib libp2c.a
+
+ p2clib.o: p2clib.c
+- $(CC) $(LFLAGS) p2clib.c
++ $(CC) $(LFLAGS) ${CFLAGS} p2clib.c
+
+ #libp2c.a: libp2c.a
+ # ranlib libp2c.a
+
+ # Making the programs
+ dbstat :
+- $(CC) dbstat.c $(CFLAGS) -o dbstat
++ $(CC) dbstat.c $(MYCFLAGS) ${CFLAGS} -o dbstat
+
+ flat2phyl :
+- $(CC) flat2phyl.c $(CFLAGS) -o flat2phyl
++ $(CC) flat2phyl.c $(MYCFLAGS) ${CFLAGS} -o flat2phyl
+
+ phyl2flat :
+- $(CC) phyl2flat.c $(CFLAGS) -o phyl2flat
++ $(CC) phyl2flat.c $(MYCFLAGS) ${CFLAGS} -o phyl2flat
+
+ getloc :
+- $(CC) getloc.c $(CFLAGS) -o getloc
++ $(CC) getloc.c $(MYCFLAGS) ${CFLAGS} -o getloc
+
+ getob :
+- $(CC) getob.c $(CFLAGS) -o getob
++ $(CC) getob.c $(MYCFLAGS) ${CFLAGS} -o getob
+
+ identify :
+- $(CC) identify.c $(CFLAGS) -o identify
++ $(CC) identify.c $(MYCFLAGS) ${CFLAGS} -o identify
+
+ prot2nuc :
+- $(CC) prot2nuc.c $(CFLAGS) -o prot2nuc
++ $(CC) prot2nuc.c $(MYCFLAGS) ${CFLAGS} -o prot2nuc
+
+ reform :
+- $(CC) reform.c $(CFLAGS) -o reform
++ $(CC) reform.c $(MYCFLAGS) ${CFLAGS} -o reform
+
+ ribosome :
+- $(CC) ribosome.c $(CFLAGS) -o ribosome
++ $(CC) ribosome.c $(MYCFLAGS) ${CFLAGS} -o ribosome
+
+ shuffle :
+- $(CC) shuffle.c $(CFLAGS) -o shuffle
++ $(CC) shuffle.c $(MYCFLAGS) ${CFLAGS} -o shuffle
+
+ splitdb :
+- $(CC) splitdb.c $(CFLAGS) -o splitdb
++ $(CC) splitdb.c $(MYCFLAGS) ${CFLAGS} -o splitdb
+