diff options
author | itetcu <itetcu@FreeBSD.org> | 2009-07-04 18:37:00 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2009-07-04 18:37:00 +0800 |
commit | 1284074b3609651ceca9da2db21770952178cf64 (patch) | |
tree | a2a9920bef6b9835b2b2bc9b01652503e0144f91 /science/py-netCDF4 | |
parent | 77412e7bdadf4c0e6a508ff8902cdca29872241b (diff) | |
download | freebsd-ports-gnome-1284074b3609651ceca9da2db21770952178cf64.tar.gz freebsd-ports-gnome-1284074b3609651ceca9da2db21770952178cf64.tar.zst freebsd-ports-gnome-1284074b3609651ceca9da2db21770952178cf64.zip |
Fix with custom LOCALBASE/PREFIX
Submitted by: maintainer
Reported by: QATty
Diffstat (limited to 'science/py-netCDF4')
-rw-r--r-- | science/py-netCDF4/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/science/py-netCDF4/Makefile b/science/py-netCDF4/Makefile index 57c5b4cb8612..391b497d3960 100644 --- a/science/py-netCDF4/Makefile +++ b/science/py-netCDF4/Makefile @@ -23,4 +23,8 @@ LIB_DEPENDS= hdf5.6:${PORTSDIR}/science/hdf5-18 \ USE_PYTHON= 2.5+ USE_PYDISTUTILS= yes +post-patch: + @${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' \ + ${WRKSRC}/setup.py + .include <bsd.port.mk> |