summaryrefslogtreecommitdiff
path: root/lang/nhc98/Makefile
diff options
context:
space:
mode:
authorjtb <jtb>2001-02-19 17:08:12 +0000
committerjtb <jtb>2001-02-19 17:08:12 +0000
commit001c82c809ed2e3f0f5b6a597e62592cbf99dd3d (patch)
treecc38968536a3ffc156a5c0414a3b3ad3b3016441 /lang/nhc98/Makefile
parentd5b57fbf457465ad009fde74e6818858bee3f844 (diff)
downloadpkgsrc-001c82c809ed2e3f0f5b6a597e62592cbf99dd3d.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/Makefile14
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"