summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2001-02-19 17:08:12 +0000
committerjtb <jtb@pkgsrc.org>2001-02-19 17:08:12 +0000
commitee41a5f1c2c9c6c3e2f7ba169c710e4b6da7fc69 (patch)
treecc38968536a3ffc156a5c0414a3b3ad3b3016441 /lang
parent633b583098b0b94c64f263c212ba4e7dfe334baa (diff)
downloadpkgsrc-ee41a5f1c2c9c6c3e2f7ba169c710e4b6da7fc69.tar.gz
Generate PLIST to work on architectures other than ix86. Should fix
Sparc bulk build problem.
Diffstat (limited to 'lang')
-rw-r--r--lang/nhc98/Makefile14
-rw-r--r--lang/nhc98/pkg/PLIST36
2 files changed, 26 insertions, 24 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"
diff --git a/lang/nhc98/pkg/PLIST b/lang/nhc98/pkg/PLIST
index ad5e58cc897..3d0f8996ebc 100644
--- a/lang/nhc98/pkg/PLIST
+++ b/lang/nhc98/pkg/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2000/11/29 00:33:10 jtb Exp $
+@comment $NetBSD: PLIST,v 1.2 2001/02/19 17:08:13 jtb Exp $
bin/greencard-nhc98
bin/harch
bin/hi
@@ -81,22 +81,22 @@ include/nhc98/tracer/Ratio.hi
include/nhc98/tracer/System.hi
include/nhc98/tracer/Text.hi
include/nhc98/twopass.h
-lib/hmake/ix86-${OPSYS}/HInteractive
-lib/hmake/ix86-${OPSYS}/MkProg
-lib/hmake/ix86-${OPSYS}/Older
-lib/hmake/ix86-${OPSYS}/hmake.config
+lib/hmake/${HARCH}/HInteractive
+lib/hmake/${HARCH}/MkProg
+lib/hmake/${HARCH}/Older
+lib/hmake/${HARCH}/hmake.config
lib/nhc98/hood.jar
-lib/nhc98/ix86-${OPSYS}/Prelude.a
-lib/nhc98/ix86-${OPSYS}/Runtime.a
-lib/nhc98/ix86-${OPSYS}/config
-lib/nhc98/ix86-${OPSYS}/greencard-nhc98
-lib/nhc98/ix86-${OPSYS}/hmake.config
-lib/nhc98/ix86-${OPSYS}/libdebug.a
-lib/nhc98/ix86-${OPSYS}/main.o
-lib/nhc98/ix86-${OPSYS}/mutator.o
-lib/nhc98/ix86-${OPSYS}/mutlib.o
-lib/nhc98/ix86-${OPSYS}/nhc98comp
-lib/nhc98/ix86-${OPSYS}/nhc98heap
+lib/nhc98/${HARCH}/Prelude.a
+lib/nhc98/${HARCH}/Runtime.a
+lib/nhc98/${HARCH}/config
+lib/nhc98/${HARCH}/greencard-nhc98
+lib/nhc98/${HARCH}/hmake.config
+lib/nhc98/${HARCH}/libdebug.a
+lib/nhc98/${HARCH}/main.o
+lib/nhc98/${HARCH}/mutator.o
+lib/nhc98/${HARCH}/mutlib.o
+lib/nhc98/${HARCH}/nhc98comp
+lib/nhc98/${HARCH}/nhc98heap
lib/nhc98/rtb.jar
man/man1/harch.1
man/man1/hmake.1
@@ -186,9 +186,9 @@ share/doc/nhc98/york-release.html
@dirrm share/doc/nhc98/examples
@dirrm share/doc/nhc98/bugs
@dirrm share/doc/nhc98
-@dirrm lib/nhc98/ix86-${OPSYS}
+@dirrm lib/nhc98/${HARCH}
@dirrm lib/nhc98
-@dirrm lib/hmake/ix86-${OPSYS}
+@dirrm lib/hmake/${HARCH}
@dirrm lib/hmake
@dirrm include/nhc98/tracer
@dirrm include/nhc98