aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-12-06 01:09:15 +0800
committerrafan <rafan@FreeBSD.org>2006-12-06 01:09:15 +0800
commit295ea34b4478a2b947c205755c8073aceba99775 (patch)
treea912b3ad32802c9bb41ba183293bfd18619ca557 /science
parentff3c156e660e38e47458cc2536fc372ef26da17d (diff)
downloadfreebsd-ports-gnome-295ea34b4478a2b947c205755c8073aceba99775.tar.gz
freebsd-ports-gnome-295ea34b4478a2b947c205755c8073aceba99775.tar.zst
freebsd-ports-gnome-295ea34b4478a2b947c205755c8073aceba99775.zip
- Respect X11BASE
Submitted by: maintainer
Diffstat (limited to 'science')
-rw-r--r--science/py-scipy03/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/science/py-scipy03/Makefile b/science/py-scipy03/Makefile
index aec038209e00..58858d894516 100644
--- a/science/py-scipy03/Makefile
+++ b/science/py-scipy03/Makefile
@@ -32,6 +32,8 @@ OPTIONS= ATLAS "Use optimized blas library" OFF
post-patch:
@${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \
-e "s@malloc\.h@stdlib.h@"
+ @${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' \
+ ${WRKSRC}/scipy_core/scipy_distutils/system_info.py
.include <bsd.port.pre.mk>