aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-10-18 14:55:04 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-10-18 14:55:04 +0000
commitb9aa67ef52d96c9933669b7c447d0a32c38c77b3 (patch)
tree5d0e2a12a7ca03adc380a9ec041f2f2b9ae4fa38
parent1211f45ae592430674cdb14e7b7f9629defb54ef (diff)
downloadports-b9aa67ef52d96c9933669b7c447d0a32c38c77b3.tar.gz
ports-b9aa67ef52d96c9933669b7c447d0a32c38c77b3.zip
MFH: r371026
- Fix build
Notes
Notes: svn path=/branches/2014Q4/; revision=371135
-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