Lines 12-18
Link Here
|
12 |
MAINTAINER= haskell@FreeBSD.org |
12 |
MAINTAINER= haskell@FreeBSD.org |
13 |
COMMENT= Compiler for the functional language Haskell |
13 |
COMMENT= Compiler for the functional language Haskell |
14 |
|
14 |
|
15 |
ONLY_FOR_ARCHS= i386 amd64 |
15 |
ONLY_FOR_ARCHS= i386 amd64 armv6 |
16 |
|
16 |
|
17 |
MAKE_JOBS_NUMBER_LIMIT= 4 |
17 |
MAKE_JOBS_NUMBER_LIMIT= 4 |
18 |
|
18 |
|
Lines 75-82
Link Here
|
75 |
|
75 |
|
76 |
BOOT_GHC_VERSION= 7.6.3 |
76 |
BOOT_GHC_VERSION= 7.6.3 |
77 |
|
77 |
|
78 |
.if ${ARCH} == "i386" |
78 |
.if ${ARCH} == "armv6" |
79 |
|
79 |
|
|
|
80 |
BOOT_GHC_VERSION= 7.8.3 |
81 |
.if ${OSVERSION} >= 1100077 |
82 |
DISTFILES+= ghc-${BOOT_GHC_VERSION}-arm-freebsd11-boot${EXTRACT_SUFX}:boot |
83 |
.endif |
84 |
|
85 |
.elif ${ARCH} == "i386" |
86 |
|
80 |
.if ${OSVERSION} >= 1000043 |
87 |
.if ${OSVERSION} >= 1000043 |
81 |
DISTFILES+= ghc-${BOOT_GHC_VERSION}-i386-freebsd10-boot${EXTRACT_SUFX}:boot |
88 |
DISTFILES+= ghc-${BOOT_GHC_VERSION}-i386-freebsd10-boot${EXTRACT_SUFX}:boot |
82 |
.elif ${OSVERSION} >= 900000 |
89 |
.elif ${OSVERSION} >= 900000 |
Lines 115-120
Link Here
|
115 |
CONFIGURE_ARGS+= --with-iconv-includes=${LOCALBASE}/include \ |
122 |
CONFIGURE_ARGS+= --with-iconv-includes=${LOCALBASE}/include \ |
116 |
--with-iconv-libraries=${LOCALBASE}/lib |
123 |
--with-iconv-libraries=${LOCALBASE}/lib |
117 |
|
124 |
|
|
|
125 |
.if ${ARCH} == "armv6" |
126 |
CONFIGURE_ARGS+= --enable-unregisterised |
127 |
.endif |
128 |
|
118 |
.if ${PORT_OPTIONS:MDYNAMIC} |
129 |
.if ${PORT_OPTIONS:MDYNAMIC} |
119 |
CONFIGURE_ARGS+= --with-system-libffi \ |
130 |
CONFIGURE_ARGS+= --with-system-libffi \ |
120 |
--with-ffi-includes=${LOCALBASE}/include \ |
131 |
--with-ffi-includes=${LOCALBASE}/include \ |
Lines 196-201
Link Here
|
196 |
@${ECHO} >> ${WRKSRC}/mk/build.mk "mandir = ${PREFIX}/man" |
207 |
@${ECHO} >> ${WRKSRC}/mk/build.mk "mandir = ${PREFIX}/man" |
197 |
@${ECHO} >> ${WRKSRC}/mk/build.mk "infodir = ${PREFIX}/info" |
208 |
@${ECHO} >> ${WRKSRC}/mk/build.mk "infodir = ${PREFIX}/info" |
198 |
@${ECHO} >> ${WRKSRC}/mk/build.mk "GhcLibWays = v" |
209 |
@${ECHO} >> ${WRKSRC}/mk/build.mk "GhcLibWays = v" |
|
|
210 |
.if ${ARCH} == "armv6" |
211 |
@${ECHO} >> ${WRKSRC}/mk/build.mk "SRC_HC_OPTS += -O0 -fasm" |
212 |
@${ECHO} >> ${WRKSRC}/mk/build.mk "GhcStage1HcOpts = -O -fasm" |
213 |
@${ECHO} >> ${WRKSRC}/mk/build.mk "GhcStage2HcOpts = -O -fasm" |
214 |
@${ECHO} >> ${WRKSRC}/mk/build.mk "GhcLibHcOpts = -O -fasm" |
215 |
.endif |
216 |
|
199 |
.if ${PORT_OPTIONS:MPROFILE} |
217 |
.if ${PORT_OPTIONS:MPROFILE} |
200 |
@${ECHO} >> ${WRKSRC}/mk/build.mk "GhcLibWays += p" |
218 |
@${ECHO} >> ${WRKSRC}/mk/build.mk "GhcLibWays += p" |
201 |
.endif |
219 |
.endif |