View | Details | Raw Unified | Return to bug 222963 | Differences between
and this patch

Collapse All | Expand All

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

Return to bug 222963