View | Details | Raw Unified | Return to bug 196857
Collapse All | Expand All

(-)Makefile (-6 / +7 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	nhc98
4
PORTNAME=	nhc98
5
PORTVERSION=	1.22
5
PORTVERSION=	1.22
6
PORTREVISION=	1
6
PORTREVISION=	2
7
CATEGORIES=	lang haskell
7
CATEGORIES=	lang haskell
8
MASTER_SITES=	http://haskell.org/${PORTNAME}/
8
MASTER_SITES=	http://haskell.org/${PORTNAME}/
9
DISTFILES=	${PORTNAME}src-${PORTVERSION}${EXTRACT_SUFX}
9
DISTFILES=	${PORTNAME}src-${PORTVERSION}${EXTRACT_SUFX}
Lines 14-27 Link Here
14
14
15
ONLY_FOR_ARCHS=	i386
15
ONLY_FOR_ARCHS=	i386
16
16
17
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
18
19
USES=		gmake
17
USES=		gmake
20
# Fails to build with GCC 4.9, cf. PR 196857.
18
USE_GCC=	yes
21
USE_GCC=	4.8
22
19
23
HAS_CONFIGURE=		yes
20
HAS_CONFIGURE=		yes
24
CONFIGURE_ARGS+=	--prefix=${PREFIX} --heap=4M
21
CONFIGURE_ARGS+=	--prefix=${PREFIX} --heap=4M --buildwith=gcc
25
MAKE_ARGS+=		ARCH=
22
MAKE_ARGS+=		ARCH=
26
MAKE_JOBS_UNSAFE=	yes
23
MAKE_JOBS_UNSAFE=	yes
27
24
Lines 35-40 Link Here
35
32
36
post-patch:
33
post-patch:
37
	@${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|' ${WRKSRC}/Makefile.inc
34
	@${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|' ${WRKSRC}/Makefile.inc
35
# The Makefile defines target names based on $(CC) which is
36
# problematic when CC=gcc5.  The following patch does not affect the
37
# compiler used during the build, but makes sure that targets have
38
# the correct suffix e.g. 'basic-gcc' instead of 'basic-gcc5':
38
	@${REINPLACE_CMD} -e 's|$$(CC)|gcc|g' ${WRKSRC}/Makefile
39
	@${REINPLACE_CMD} -e 's|$$(CC)|gcc|g' ${WRKSRC}/Makefile
39
40
40
post-configure:
41
post-configure:
(-)pkg-plist (+3 lines)
Lines 224-229 Link Here
224
include/nhc98/packages/base/Text/Read.hi
224
include/nhc98/packages/base/Text/Read.hi
225
include/nhc98/packages/base/Text/Show.hi
225
include/nhc98/packages/base/Text/Show.hi
226
include/nhc98/packages/base/Text/Show/Functions.hi
226
include/nhc98/packages/base/Text/Show/Functions.hi
227
@dir include/nhc98/packages/base/Text/Html
228
@dir include/nhc98/packages/base/Text/Regex
227
include/nhc98/packages/base/Typeable.h
229
include/nhc98/packages/base/Typeable.h
228
include/nhc98/packages/base/Unsafe/Coerce.hi
230
include/nhc98/packages/base/Unsafe/Coerce.hi
229
include/nhc98/packages/bytestring.cabal
231
include/nhc98/packages/bytestring.cabal
Lines 249-254 Link Here
249
include/nhc98/packages/filepath/System/FilePath.hi
251
include/nhc98/packages/filepath/System/FilePath.hi
250
include/nhc98/packages/filepath/System/FilePath/Posix.hi
252
include/nhc98/packages/filepath/System/FilePath/Posix.hi
251
include/nhc98/packages/filepath/System/FilePath/Windows.hi
253
include/nhc98/packages/filepath/System/FilePath/Windows.hi
254
@dir include/nhc98/packages/haskell98
252
include/nhc98/packages/haskell98.cabal
255
include/nhc98/packages/haskell98.cabal
253
include/nhc98/packages/old-locale.cabal
256
include/nhc98/packages/old-locale.cabal
254
include/nhc98/packages/old-locale/System/Locale.hi
257
include/nhc98/packages/old-locale/System/Locale.hi

Return to bug 196857