aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2016-01-03 14:18:23 +0800
committerwen <wen@FreeBSD.org>2016-01-03 14:18:23 +0800
commitbb809156a4dcd0ffd1bb84d387eb6cd9f355c0a1 (patch)
tree33fe35e0791ea75ea1fa68e6269c3beef757635c /x11-toolkits
parent9facc2776cee1a2b42e56ebb1ec026a11e9bd1dc (diff)
downloadfreebsd-ports-gnome-bb809156a4dcd0ffd1bb84d387eb6cd9f355c0a1.tar.gz
freebsd-ports-gnome-bb809156a4dcd0ffd1bb84d387eb6cd9f355c0a1.tar.zst
freebsd-ports-gnome-bb809156a4dcd0ffd1bb84d387eb6cd9f355c0a1.zip
- Fix build on FreeBSD-9
Reported by: pkg-fallout@
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