aboutsummaryrefslogtreecommitdiffstats
path: root/math/py-pymc
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2014-10-23 23:23:27 +0800
committerdemon <demon@FreeBSD.org>2014-10-23 23:23:27 +0800
commite1981bcc0e1161baf1ab87452197514e2daa9a0b (patch)
tree26dc8455f3926ddb17f51ab05e6f1b6a50089b12 /math/py-pymc
parentfdebcb983ed3a7f19fbc8364ea6e664fd29fa778 (diff)
downloadfreebsd-ports-gnome-e1981bcc0e1161baf1ab87452197514e2daa9a0b.tar.gz
freebsd-ports-gnome-e1981bcc0e1161baf1ab87452197514e2daa9a0b.tar.zst
freebsd-ports-gnome-e1981bcc0e1161baf1ab87452197514e2daa9a0b.zip
Fix compilation after recent numpy patch.
Patch by thierry@FreeBSD.org, pointed out by antoine.
Diffstat (limited to 'math/py-pymc')
-rw-r--r--math/py-pymc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/py-pymc/Makefile b/math/py-pymc/Makefile
index 704c744e57d8..fb8b9e6c7709 100644
--- a/math/py-pymc/Makefile
+++ b/math/py-pymc/Makefile
@@ -34,6 +34,8 @@ USES= python
USE_PYTHON= distutils autoplist
PORTDOCS= *
+LDFLAGS+= -shared
+
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/flib.so
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/gp/cov_funs/distances.so