aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2016-01-03 06:18:23 +0000
committerWen Heping <wen@FreeBSD.org>2016-01-03 06:18:23 +0000
commit9155d7dd7a7874ebc377f508340c740413946594 (patch)
tree33fe35e0791ea75ea1fa68e6269c3beef757635c /x11-toolkits
parenta0422da2a9f68863eb4035e3a113ab1f0bbd3715 (diff)
downloadports-9155d7dd7a7874ebc377f508340c740413946594.tar.gz
ports-9155d7dd7a7874ebc377f508340c740413946594.zip
- Fix build on FreeBSD-9
Reported by: pkg-fallout@
Notes
Notes: svn path=/head/; revision=405113
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/py-fltk/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/x11-toolkits/py-fltk/Makefile b/x11-toolkits/py-fltk/Makefile
index e917090cbeaa..166ca7f30d0d 100644
--- a/x11-toolkits/py-fltk/Makefile
+++ b/x11-toolkits/py-fltk/Makefile
@@ -28,6 +28,12 @@ PORTDOCS= *
PORTEXAMPLES= *
WRKSRC= ${WRKDIR}/pyFltk-${PORTVERSION}
+.include <bsd.port.options.mk>
+
+#.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000
+USE_GCC= yes
+#.endif
+
post-patch:
@${REINPLACE_CMD} -e "s|/usr/X11R6|${LOCALBASE}|g;s|package_data.*},||g;s|sunos5|dragonfly4', 'freebsd8', 'freebsd9', 'freebsd10', 'freebsd11|g" ${WRKSRC}/setup.py