aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gprolog
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2017-02-06 18:55:31 +0800
committerjbeich <jbeich@FreeBSD.org>2017-02-06 18:55:31 +0800
commita7ce58aafe6fa616a378a66dad4d655e5e7b6313 (patch)
tree7f9764ee32df6f252d356fbc414df8fcd548ce46 /lang/gprolog
parent6943d871a273faaaba529295c4b6a4c097aed309 (diff)
downloadfreebsd-ports-gnome-a7ce58aafe6fa616a378a66dad4d655e5e7b6313.tar.gz
freebsd-ports-gnome-a7ce58aafe6fa616a378a66dad4d655e5e7b6313.tar.zst
freebsd-ports-gnome-a7ce58aafe6fa616a378a66dad4d655e5e7b6313.zip
lang/gprolog: pass -O3 to unbreak with gcc5
gplc -c --fast-math fd2c.pl ====>> Killing runaway build after 7200 seconds with no output PR: 216707 Reported by: antoine (via exp-run)
Diffstat (limited to 'lang/gprolog')
-rw-r--r--lang/gprolog/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/gprolog/Makefile b/lang/gprolog/Makefile
index b538d8a1d8f4..0ffec5059ad8 100644
--- a/lang/gprolog/Makefile
+++ b/lang/gprolog/Makefile
@@ -3,7 +3,7 @@
PORTNAME= gprolog
PORTVERSION= 1.4.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= lang
MASTER_SITES= http://www.gprolog.org/
@@ -19,6 +19,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
USES= gmake
USE_GCC= any
USE_AUTOTOOLS= autoconf
+CFLAGS+= -O3 # gcc5/gcc6 + -O2 = pl2wam hangs
CONFIGURE_ARGS= --with-c-flags="${CFLAGS}"
CONFIGURE_TARGET= ${ARCH:S/amd64/x86_64/}-portbld-freebsd${OSREL}
MAKE_JOBS_UNSAFE= yes