diff options
author | jtb <jtb@pkgsrc.org> | 2001-02-19 17:08:12 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2001-02-19 17:08:12 +0000 |
commit | ee41a5f1c2c9c6c3e2f7ba169c710e4b6da7fc69 (patch) | |
tree | cc38968536a3ffc156a5c0414a3b3ad3b3016441 /lang/nhc98/Makefile | |
parent | 633b583098b0b94c64f263c212ba4e7dfe334baa (diff) | |
download | pkgsrc-ee41a5f1c2c9c6c3e2f7ba169c710e4b6da7fc69.tar.gz |
Generate PLIST to work on architectures other than ix86. Should fix
Sparc bulk build problem.
Diffstat (limited to 'lang/nhc98/Makefile')
-rw-r--r-- | lang/nhc98/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/lang/nhc98/Makefile b/lang/nhc98/Makefile index cf47d020f79..dce03449917 100644 --- a/lang/nhc98/Makefile +++ b/lang/nhc98/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2001/02/17 09:07:22 agc Exp $ +# $NetBSD: Makefile,v 1.5 2001/02/19 17:08:12 jtb Exp $ DISTNAME= nhc98src-1.00 PKGNAME= nhc98-1.00 @@ -12,20 +12,22 @@ COMMENT= Portable Haskell 98 compiler NOT_FOR_PLATFORM= *-*-alpha WRKSRC= ${WRKDIR}/nhc98-1.00 -HAS_CONFIGURE= YES +HAS_CONFIGURE= #defined CONFIGURE_ARGS+= --buildwith=gcc --installdir=${PREFIX} \ +docs --docdir=${PREFIX}/share/doc/nhc98 # Note that you can also build with ghc (Glasgow Haskell Compiler). -USE_GMAKE= YES +USE_GMAKE= #defined + +HARCH= `${WRKSRC}/script/harch` +PLIST_SUBST+= HARCH=${HARCH} post-extract: - @for f in `${FIND} ${WRKSRC}/docs -type d | ${GREP} CVS`; do \ - ${RM} -R $$f ; done + ${RM} -fr ${WRKSRC}/docs/CVS ${WRKSRC}/docs/*/CVS ${RMDIR} ${WRKSRC}/docs/hat do-build: - @(cd ${WRKSRC} && ${GMAKE}) + cd ${WRKSRC} && ${GMAKE} .include "../../mk/bsd.pkg.mk" |