aboutsummaryrefslogtreecommitdiffstats
path: root/science/harminv
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2015-02-24 04:17:23 +0800
committerthierry <thierry@FreeBSD.org>2015-02-24 04:17:23 +0800
commita0034f9769fbbb21c6623f4d8f31ed7322599c96 (patch)
tree9c18782e525f0a57c1af54276b47a0a0f914c3bf /science/harminv
parent26d67c8b6275512277394e2528304327f688b96b (diff)
downloadfreebsd-ports-gnome-a0034f9769fbbb21c6623f4d8f31ed7322599c96.tar.gz
freebsd-ports-gnome-a0034f9769fbbb21c6623f4d8f31ed7322599c96.tar.zst
freebsd-ports-gnome-a0034f9769fbbb21c6623f4d8f31ed7322599c96.zip
Uses blaslapack and pathfix.
PR: ports/197293 Approved by: maintainer
Diffstat (limited to 'science/harminv')
-rw-r--r--science/harminv/Makefile10
-rw-r--r--science/harminv/files/patch-Makefile.in11
2 files changed, 2 insertions, 19 deletions
diff --git a/science/harminv/Makefile b/science/harminv/Makefile
index e4e8534e8c65..f60b5eea28d1 100644
--- a/science/harminv/Makefile
+++ b/science/harminv/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= http://ab-initio.mit.edu/harminv/
MAINTAINER= devel@stasyan.com
COMMENT= Solver of harmonic inversion
-USES= fortran gmake libtool
+USES= blaslapack fortran gmake libtool pathfix
GNU_CONFIGURE= yes
USE_GCC= yes
CPPFLAGS+= -I${LOCALBASE}/include
@@ -19,12 +19,6 @@ LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV+= LD_LIBRARY_PATH="${LD_LIBRARY_PATH}"
USE_LDCONFIG= yes
-LIB_DEPENDS+= libguile.so:${PORTSDIR}/lang/guile \
- libblas.so:${PORTSDIR}/math/blas \
- liblapack.so:${PORTSDIR}/math/lapack
-
-post-patch:
- ${REINPLACE_CMD} -e 's#%%PKGDIR%%#${PREFIX}/libdata#g' \
- ${WRKSRC}/Makefile.in
+LIB_DEPENDS+= libguile.so:${PORTSDIR}/lang/guile
.include <bsd.port.mk>
diff --git a/science/harminv/files/patch-Makefile.in b/science/harminv/files/patch-Makefile.in
deleted file mode 100644
index 6c09d1937286..000000000000
--- a/science/harminv/files/patch-Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.in.orig 2010-01-02 09:36:55.000000000 +0800
-+++ Makefile.in 2010-01-02 09:38:14.000000000 +0800
-@@ -221,7 +221,7 @@
- lib_LTLIBRARIES = libharminv.la
- include_HEADERS = harminv.h
- dist_man_MANS = harminv.1
--pkgconfigdir = $(libdir)/pkgconfig
-+pkgconfigdir = %%PKGDIR%%/pkgconfig
- pkgconfig_DATA = harminv.pc
- ACLOCAL_AMFLAGS = -I .
- EXTRA_DIST = COPYRIGHT harminv.pc.in acx_blas.m4 acx_lapack.m4