aboutsummaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2009-07-04 10:37:00 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2009-07-04 10:37:00 +0000
commit29837fb06a173d9842405d9102b821a48ac81291 (patch)
tree5ceeee4f0d7440e2e048bd44de4461f4994ef891 /science
parenta2f3c206c59597568f3c44f1ef1ad38fe23587cf (diff)
downloadports-29837fb06a173d9842405d9102b821a48ac81291.tar.gz
ports-29837fb06a173d9842405d9102b821a48ac81291.zip
Notes
Diffstat (limited to 'science')
-rw-r--r--science/py-netCDF4/Makefile4
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>