aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-04-21 16:14:09 +0800
committervs <vs@FreeBSD.org>2005-04-21 16:14:09 +0800
commit49a1cdc13f121961e56bc8f8302be946d9b6ff1b (patch)
treee9e706b9c0340fb2f1315ae80791d2abe00e371e /math
parent733f3d88460a26938f0eecf00657ae7391af6634 (diff)
downloadfreebsd-ports-gnome-49a1cdc13f121961e56bc8f8302be946d9b6ff1b.tar.gz
freebsd-ports-gnome-49a1cdc13f121961e56bc8f8302be946d9b6ff1b.tar.zst
freebsd-ports-gnome-49a1cdc13f121961e56bc8f8302be946d9b6ff1b.zip
Fix the build on 4.x by using gcc3 until somebody comes up with a better solution.
Diffstat (limited to 'math')
-rw-r--r--math/py-matplotlib/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/math/py-matplotlib/Makefile b/math/py-matplotlib/Makefile
index 265f7b5c20e4..f75efae44a3d 100644
--- a/math/py-matplotlib/Makefile
+++ b/math/py-matplotlib/Makefile
@@ -44,6 +44,10 @@ PLISTDIR+= ${EXAMPLESDIR}
.include <bsd.port.pre.mk>
+.if ( ${OSVERSION} < 500000)
+USE_GCC= 3.4
+.endif
+
post-patch:
@${GREP} -lR "share/matplotlib" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \
-e "s,share/matplotlib,share/py-matplotlib,g"