summaryrefslogtreecommitdiff
path: root/math/py-matplotlib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/py-matplotlib/Makefile')
-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"