c7383780db
might incur ncurses dependencies on some platforms, and ncurses just bumped its shlib. Some packages were bumped twice now, sorry for that.
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# $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"
|