aboutsummaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2014-10-17 02:45:15 +0000
committerWen Heping <wen@FreeBSD.org>2014-10-17 02:45:15 +0000
commit9ce603baaf066434337c35ebe05f198bc928fbf1 (patch)
treef2cc48b2acf625e0dc60b86d9c9a7df922bffe92 /science
parent2048eb80579031c5a22312591db742760965746e (diff)
downloadports-9ce603baaf066434337c35ebe05f198bc928fbf1.tar.gz
ports-9ce603baaf066434337c35ebe05f198bc928fbf1.zip
- Fix build
Notes
Notes: svn path=/head/; revision=371026
Diffstat (limited to 'science')
-rw-r--r--science/py-obspy/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/science/py-obspy/Makefile b/science/py-obspy/Makefile
index a7ef4e1ad817..96d73c386d9c 100644
--- a/science/py-obspy/Makefile
+++ b/science/py-obspy/Makefile
@@ -21,11 +21,10 @@ BUILD_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}sqlalchemy>=0:${PORTSDIR}/databases/py-sqlalchemy
RUN_DEPENDS:= ${BUILD_DEPENDS}
-USES= fortran zip
+USES= fortran zip python
USE_LDCONFIG= yes
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+LDFLAGS+= -shared
+USE_PYTHON= distutils autoplist
post-patch:
${REINPLACE_CMD} -e "s#FC#${FC}#g" ${WRKSRC}/setup.py