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 (-2 / +8 lines)
Lines 2-8 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
@@ -5169,13 +5169,9 @@ then
6
        C_PARSER_FLAGS="-O3 -Wall -Wstrict-prototypes -Wmissing-prototypes $CFLAGS"
6
        C_PARSER_FLAGS="-O3 -Wall -Wstrict-prototypes -Wmissing-prototypes $CFLAGS"
7
        CFLAGS="-O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes $CFLAGS"
7
        CFLAGS="-O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes $CFLAGS"
8
        case "`$CC --version < /dev/null`" in
8
        case "`$CC --version < /dev/null`" in
Lines 10-13 Link Here
10
+	  gcc-3.4*) CFLAGS="-fno-gcse -fno-crossjumping $CFLAGS" ;;
10
+	  gcc-3.4*) CFLAGS="-fno-gcse -fno-crossjumping $CFLAGS" ;;
11
        esac
11
        esac
12
        case "$target_cpu" in
12
        case "$target_cpu" in
13
         i*86*)
13
-        i*86*)
14
-           CFLAGS="-DBP_FREE $CFLAGS"
15
-           CXXFLAGS="-DBP_FREE $CXXFLAGS"
16
-        ;;
17
         sparc*)
18
 	  case "$target_os" in
19
            *solaris2-9*)	             CFLAGS="-mno-app-regs -DOPTIMISE_ALL_REGS_FOR_SPARC=1 $CFLAGS"

Return to bug 222963