Index: Makefile =================================================================== --- Makefile (revision 475617) +++ Makefile (working copy) @@ -3,7 +3,7 @@ PORTNAME= yap PORTVERSION= 6.3.3 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= lang MASTER_SITES= http://www.dcc.fc.up.pt/~vsc/Yap/ PKGNAMESUFFIX= -devel @@ -51,17 +51,8 @@ DOCSDIR= ${PREFIX}/share/doc/Yap DATADIR= ${PREFIX}/share/Yap -.include - -.if ${ARCH} == i386 -# H/absmi.h:77:23: error: global register variables are not supported -USES+= compiler:gcc-c++11-lib -.endif - -post-build: -.if empty(PORT_OPTIONS:MDOCS) +post-build-DOCS-off: # prevent the installation of docs files ${REINPLACE_CMD} -e '758,761d' ${WRKSRC}/Makefile -.endif .include Index: files/patch-configure =================================================================== --- files/patch-configure (revision 475617) +++ files/patch-configure (working copy) @@ -2,12 +2,14 @@ --- configure.orig 2013-01-19 11:48:08 UTC +++ configure -@@ -5169,7 +5169,7 @@ then - C_PARSER_FLAGS="-O3 -Wall -Wstrict-prototypes -Wmissing-prototypes $CFLAGS" - CFLAGS="-O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes $CFLAGS" - case "`$CC --version < /dev/null`" in -- *3.4*) CFLAGS="-fno-gcse -fno-crossjumping $CFLAGS" ;; -+ gcc-3.4*) CFLAGS="-fno-gcse -fno-crossjumping $CFLAGS" ;; +@@ -5172,10 +5172,6 @@ then + *3.4*) CFLAGS="-fno-gcse -fno-crossjumping $CFLAGS" ;; esac case "$target_cpu" in - i*86*) +- i*86*) +- CFLAGS="-DBP_FREE $CFLAGS" +- CXXFLAGS="-DBP_FREE $CXXFLAGS" +- ;; + sparc*) + case "$target_os" in + *solaris2-9*) CFLAGS="-mno-app-regs -DOPTIMISE_ALL_REGS_FOR_SPARC=1 $CFLAGS"