blob: c8e77e08aa28105cf6eae03307e57afd49ef9148 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# $NetBSD: Makefile,v 1.49 2015/08/18 07:31:10 wiz Exp $
DISTNAME= nhc98src-1.22
PKGNAME= nhc98-1.22
PKGREVISION= 2
CATEGORIES= lang
MASTER_SITES= http://www.haskell.org/nhc98/
MAINTAINER= kristerw@NetBSD.org
HOMEPAGE= http://www.haskell.org/nhc98/
COMMENT= Portable Haskell 98 compiler
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
MAKE_JOBS_SAFE= no
HAS_CONFIGURE= yes
USE_TOOLS+= gmake
CONFIGURE_ARGS+= --buildwith=gcc --installdir=${PREFIX} \
+docs --docdir=${PREFIX}/share/doc/nhc98
.include "../../mk/bsd.prefs.mk"
# These platforms cannot build 32-on-64 binaries.
NOT_FOR_PLATFORM+= *-*-alpha
NOT_FOR_PLATFORM+= DragonFly-*-x86_64
# This package has LP64 issues, so must build as 32-bit binary.
M32=
.for P in ${LP64PLATFORMS}
.if ${MACHINE_PLATFORM:M${P}}
M32= -m32
.endif
.endfor
BUILD_MAKE_FLAGS+= PKGSRC_M32=${M32}
PLIST_SUBST+= HARCH=`${WRKSRC}/script/harch`
INCOMPAT_CURSES= NetBSD-1.5*-* NetBSD-1.6[-_.]*-*
INCOMPAT_CURSES+= NetBSD-1.6[A-Z]-* NetBSD-1.6Z[A-K]*-*
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/readline.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|