aboutsummaryrefslogtreecommitdiffstats
path: root/biology/crux
diff options
context:
space:
mode:
Diffstat (limited to 'biology/crux')
-rw-r--r--biology/crux/Makefile7
-rw-r--r--biology/crux/pkg-plist1
2 files changed, 6 insertions, 2 deletions
diff --git a/biology/crux/Makefile b/biology/crux/Makefile
index fc9b8c38ae2d..437c646d1308 100644
--- a/biology/crux/Makefile
+++ b/biology/crux/Makefile
@@ -16,7 +16,7 @@ COMMENT= Software toolkit for phylogenetic inference
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS=--with-python=${PYTHON_CMD} --disable-mpi
-CONFIGURE_ENV+=EXTRA_CFLAGS="-std=gnu99"
+USE_CSTD= gnu99
USE_GMAKE= yes
USE_PYTHON= 2.5+
@@ -25,8 +25,11 @@ OPTIONS= SYS_LINALG "Enable system ATLAS/LAPACK" Off
.include <bsd.port.pre.mk>
.if defined(WITH_SYS_LINALG)
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS+= --enable-sys-linalg
-RUN_DEPENDS+= libatlas:${PORTSDIR}/math/atlas
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+LIB_DEPENDS+= atlas.2:${PORTSDIR}/math/atlas
.else
CONFIGURE_ARGS+= --disable-sys-linalg
USE_FORTRAN= yes
diff --git a/biology/crux/pkg-plist b/biology/crux/pkg-plist
index a7e4291e4b56..2b8bd492ac0b 100644
--- a/biology/crux/pkg-plist
+++ b/biology/crux/pkg-plist
@@ -51,6 +51,7 @@ bin/MrRogers
%%PYTHON_SITELIBDIR%%/Crux/include/Crux/libm.pxd
%%PYTHON_SITELIBDIR%%/Crux/include/Crux/libc.pxd
%%PYTHON_SITELIBDIR%%/Crux/include/Parsing.pxd
+%%PYTHON_SITELIBDIR%%/Parsing.so
share/Crux/lib/libCx.so
share/Crux/parsers/Fasta.log
share/Crux/parsers/Fasta.pickle