aboutsummaryrefslogtreecommitdiff
path: root/biology/seaview
diff options
context:
space:
mode:
Diffstat (limited to 'biology/seaview')
-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 $@