diff options
author | Wen Heping <wen@FreeBSD.org> | 2016-01-03 06:18:23 +0000 |
---|---|---|
committer | Wen Heping <wen@FreeBSD.org> | 2016-01-03 06:18:23 +0000 |
commit | 9155d7dd7a7874ebc377f508340c740413946594 (patch) | |
tree | 33fe35e0791ea75ea1fa68e6269c3beef757635c /x11-toolkits | |
parent | a0422da2a9f68863eb4035e3a113ab1f0bbd3715 (diff) | |
download | ports-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/Makefile | 6 |
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 |