aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authoravilla <avilla@FreeBSD.org>2012-06-27 09:14:01 +0800
committeravilla <avilla@FreeBSD.org>2012-06-27 09:14:01 +0800
commit4ccfd5d4b56472e6aade2e49275727e47bd70930 (patch)
treec015b49ff947a43528e57bda699a6913b65a9613 /science
parent1c8df4583749f4aae34f44a951a2f6b53dd63a84 (diff)
downloadfreebsd-ports-gnome-4ccfd5d4b56472e6aade2e49275727e47bd70930.tar.gz
freebsd-ports-gnome-4ccfd5d4b56472e6aade2e49275727e47bd70930.tar.zst
freebsd-ports-gnome-4ccfd5d4b56472e6aade2e49275727e47bd70930.zip
- Detect eigen2 by checking for .pc file, not min. port version.
If a user had eigen3 installed, but not eigen2, the min. port version check would not differentiate between the two. Submitted by: Jason E. Hale <bsdkaffee at gmail.com> via area51
Diffstat (limited to 'science')
-rw-r--r--science/avogadro/Makefile2
-rw-r--r--science/kalzium/Makefile2
-rw-r--r--science/step/Makefile2
3 files changed, 3 insertions, 3 deletions
diff --git a/science/avogadro/Makefile b/science/avogadro/Makefile
index 66fb29a5c13c..c02ef9086ff1 100644
--- a/science/avogadro/Makefile
+++ b/science/avogadro/Makefile
@@ -14,7 +14,7 @@ MASTER_SITES= SF
MAINTAINER= tkjacobsen@gmail.com
COMMENT= An advanced molecular editor and viewer
-BUILD_DEPENDS= eigen>=2.0.3:${PORTSDIR}/math/eigen2
+BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/eigen2.pc:${PORTSDIR}/math/eigen2
LIB_DEPENDS= openbabel.3:${PORTSDIR}/science/openbabel
USE_LDCONFIG= yes
diff --git a/science/kalzium/Makefile b/science/kalzium/Makefile
index 47252e0a4041..26be80628373 100644
--- a/science/kalzium/Makefile
+++ b/science/kalzium/Makefile
@@ -18,7 +18,7 @@ COMMENT= Periodic table of elements for KDE 4
LIB_DEPENDS= openbabel.3:${PORTSDIR}/science/openbabel \
avogadro.1:${PORTSDIR}/science/avogadro
-BUILD_DEPENDS= eigen>=2.0.b3:${PORTSDIR}/math/eigen2 \
+BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/eigen2.pc:${PORTSDIR}/math/eigen2 \
${LOCALBASE}/lib/ocaml/facile/facile.a:${PORTSDIR}/math/facile
CONFLICTS= kdeedu-4.[0-6].*
diff --git a/science/step/Makefile b/science/step/Makefile
index 686df6d71f5f..6ae8a6c1f85c 100644
--- a/science/step/Makefile
+++ b/science/step/Makefile
@@ -18,7 +18,7 @@ COMMENT= KDE 4 interactive physics simulator
LIB_DEPENDS= qalculate.5:${PORTSDIR}/math/libqalculate \
gsl.16:${PORTSDIR}/math/gsl
-BUILD_DEPENDS= eigen>=2.0.b3:${PORTSDIR}/math/eigen2
+BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/eigen2.pc:${PORTSDIR}/math/eigen2
CONFLICTS= kdeedu-4.[0-6].*