aboutsummaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2010-03-23 21:14:39 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2010-03-23 21:14:39 +0000
commitc6a2501ef2a438d205325e3d382a031aa8486319 (patch)
treee2bedddab94c31b6b603a72007f201b1fd00c442 /biology
parentea074376d39570a02a19abe6cb0a09507466fa0a (diff)
downloadports-c6a2501ef2a438d205325e3d382a031aa8486319.tar.gz
ports-c6a2501ef2a438d205325e3d382a031aa8486319.zip
Notes
Diffstat (limited to 'biology')
-rw-r--r--biology/seaview/Makefile2
-rw-r--r--biology/seaview/files/patch-Makefile8
2 files changed, 5 insertions, 5 deletions
diff --git a/biology/seaview/Makefile b/biology/seaview/Makefile
index fc1c4a9fce4f..f5abbf2b6c8b 100644
--- a/biology/seaview/Makefile
+++ b/biology/seaview/Makefile
@@ -8,7 +8,7 @@
PORTNAME= seaview
PORTVERSION= 2006.02.13
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= biology
MASTER_SITES= ftp://pbil.univ-lyon1.fr/pub/mol_phylogeny/seaview/archive/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
diff --git a/biology/seaview/files/patch-Makefile b/biology/seaview/files/patch-Makefile
index 78eec35f57fb..230b42d736bf 100644
--- a/biology/seaview/files/patch-Makefile
+++ b/biology/seaview/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig Mon Apr 3 16:30:03 2006
-+++ Makefile Mon Apr 3 16:35:59 2006
+--- Makefile.orig 2010-01-08 13:42:25.000000000 +0100
++++ Makefile 2010-01-08 13:42:24.000000000 +0100
@@ -1,18 +1,15 @@
-FLTK = ../fltk
-PDF = ../PDFlib-Lite-6.0.1/libs/pdflib
@@ -7,7 +7,7 @@
CXX = g++
-CFLAGS = -Dunix -U__APPLE__ -c $(OPT) -I$(FLTK) -I$(PDF) -I$(X11)/include
-+CFLAGS+= -Dunix -U__APPLE__ -c $(OPT) -I$(LOCALBASE)/include
++CFLAGS+= -Dunix -U__APPLE__ -c $(OPT) `fltk-config --cflags`
OBJECTS = seaview.o pdf.o custom.o use_mase_files.o regions.o load_seq.o align.o xfmatpt.o comlines.o chooser_plus.o resource.o nexus.o
@@ -17,7 +17,7 @@
- $(CXX) -o $@ $(OBJECTS) -L$(FLTK)/lib -lfltk \
- -Xlinker -Bstatic -L$(PDF)/.libs -lpdf -Xlinker -Bdynamic \
- -L$(X11)/lib -lX11 -lm
-+ $(CXX) -o $@ $(OBJECTS) -L$(LOCALBASE)/lib -lfltk \
++ $(CXX) -o $@ $(OBJECTS) `fltk-config --ldflags` \
+ -Xlinker -Bstatic -lpdf -Xlinker -Bdynamic \
+ -L$(LOCALBASE)/lib -lX11 -lm
strip $@