summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2003-12-31 17:11:57 +0000
committerkristerw <kristerw@pkgsrc.org>2003-12-31 17:11:57 +0000
commit398bc91ac7cb7deb8075150b2d59155d0a725606 (patch)
tree8972aaf9a7c46f0203097c745db0266087662e22 /lang
parente910b3f034dc634d7881af82e28880696cd3f31f (diff)
downloadpkgsrc-398bc91ac7cb7deb8075150b2d59155d0a725606.tar.gz
Convert to USE_BUILDLINK2.
Diffstat (limited to 'lang')
-rw-r--r--lang/ghc/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile
index a6a6703d4aa..a236d0fa8a8 100644
--- a/lang/ghc/Makefile
+++ b/lang/ghc/Makefile
@@ -1,16 +1,21 @@
-# $NetBSD: Makefile,v 1.13 2003/07/17 21:44:29 grant Exp $
+# $NetBSD: Makefile,v 1.14 2003/12/31 17:11:57 kristerw Exp $
DISTNAME= ghc-5.04.3
CATEGORIES= lang
MASTER_SITES= http://www.haskell.org/ghc/dist/5.04.3/
DISTFILES= ghc-5.04.3-src.tar.bz2 ghc-5.04.3-i386-unknown-netbsd-hc.tar.bz2
-MAINTAINER= tech-pkg@NetBSD.org
+MAINTAINER= kristerw@NetBSD.org
HOMEPAGE= http://www.haskell.org/ghc/
COMMENT= Compiler for the functional language Haskell
-DEPENDS+= readline>=4.0:../../devel/readline
-DEPENDS+= gmp>=2.0.2:../../devel/gmp
+GNU_CONFIGURE= # defined
+USE_X11= # defined
+CONFIGURE_SCRIPT= ./distrib/hc-build
+CONFIGURE_ENV+= LIBS="-L${PREFIX}/lib"
+AUTOCONF_REQD=2.13
+
+USE_BUILDLINK2= #defined
USE_GNU_READLINE=yes
USE_PERL5= yes
@@ -41,14 +46,10 @@ pre-configure:
${MV} -f $${file}.fixed $${file}; \
${AUTOCONF}
-do-configure:
- : Nothing here, configure is run twice by the hc-build script.
-
do-build:
- (cd ${WRKSRC}; \
- LIBS="-L${PREFIX}/lib" ./distrib/hc-build --prefix=${PREFIX})
.include "../../devel/readline/buildlink2.mk"
.include "../../devel/gmp/buildlink2.mk"
+.include "../../x11/gtk/buildlink2.mk"
.include "../../mk/autoconf.mk"
.include "../../mk/bsd.pkg.mk"