1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/biology/clustalw/files/patch-ab
James E. Housley 52b82e19ed - Support CC/CFLAGS/PREFIX properly
- gets() -> fgets()
- Add WWW: line into pkg/DESCR

Also bumped PORTREVISION to 1

PR:		21572
Submitted by:	tkato@prontomail.ne.jp <KATO@FreeBSD.ORG, Tsuguru@FreeBSD.ORG>
Reviewed by:	will
Approved by:	MAINTAINER (dbader@eece.unm.edu)
2000-10-03 01:10:19 +00:00

16 lines
356 B
Plaintext

--- makefile.orig Wed Jun 7 16:55:06 2000
+++ makefile Tue Aug 8 02:30:53 2000
@@ -10,9 +10,9 @@
HEADERS = general.h clustalw.h
-CC = cc
-CFLAGS = -c -O
-LFLAGS = -O -lm
+CC ?= cc
+CFLAGS += -c -DDATADIR=\"${PREFIX}/share/clustalw\"
+LFLAGS = -lm
clustalw : $(OBJECTS) amenu.o clustalw.o
$(CC) -o $@ $(OBJECTS) amenu.o clustalw.o $(LFLAGS)