diff options
author | demon <demon@FreeBSD.org> | 2014-10-23 23:23:27 +0800 |
---|---|---|
committer | demon <demon@FreeBSD.org> | 2014-10-23 23:23:27 +0800 |
commit | e1981bcc0e1161baf1ab87452197514e2daa9a0b (patch) | |
tree | 26dc8455f3926ddb17f51ab05e6f1b6a50089b12 | |
parent | fdebcb983ed3a7f19fbc8364ea6e664fd29fa778 (diff) | |
download | freebsd-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.
-rw-r--r-- | comms/wsjt/Makefile | 1 | ||||
-rw-r--r-- | comms/wspr/Makefile | 1 | ||||
-rw-r--r-- | math/py-pymc/Makefile | 2 | ||||
-rw-r--r-- | science/py-obspy/Makefile | 2 |
4 files changed, 6 insertions, 0 deletions
diff --git a/comms/wsjt/Makefile b/comms/wsjt/Makefile index 1048a6506de1..2fbbbc26e9ab 100644 --- a/comms/wsjt/Makefile +++ b/comms/wsjt/Makefile @@ -28,6 +28,7 @@ CONFIGURE_ARGS= --enable-gfortran --prefix=${LOCALBASE} \ --with-portaudio-lib-dir=${LOCALBASE}/lib/portaudio2 CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib +LDFLAGS+= -shared PLIST_SUB= PYVER=${PYTHON_VERSION:S/python//} \ VERSION=${VERSION} diff --git a/comms/wspr/Makefile b/comms/wspr/Makefile index 01126da85177..3ff14c80ebb3 100644 --- a/comms/wspr/Makefile +++ b/comms/wspr/Makefile @@ -29,6 +29,7 @@ CONFIGURE_ARGS= --with-gfortran=${FC} \ --with-f2py=f2py-${PYTHON_VER} \ --with-python3=${PYTHON_CMD} MAKE_ENV+= PYTHONUSERBASE=${STAGEDIR}${PYTHONBASE} +LDFLAGS+= -shared VERSION= 4.00 .include <bsd.port.pre.mk> 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 diff --git a/science/py-obspy/Makefile b/science/py-obspy/Makefile index 96d73c386d9c..86b2bb2d0e33 100644 --- a/science/py-obspy/Makefile +++ b/science/py-obspy/Makefile @@ -26,6 +26,8 @@ USE_LDCONFIG= yes LDFLAGS+= -shared USE_PYTHON= distutils autoplist +LDFLAGS+= -shared + post-patch: ${REINPLACE_CMD} -e "s#FC#${FC}#g" ${WRKSRC}/setup.py |