summaryrefslogtreecommitdiff
path: root/lang/nhc98
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-12-26 01:04:54 +0000
committerwiz <wiz@pkgsrc.org>2001-12-26 01:04:54 +0000
commit5ba959ffa67f1f3a67df043d7c712a4b0561bf28 (patch)
tree0f3d4e19ceb40cbc48f5bb751ddca82b663414f0 /lang/nhc98
parent896dd85d905f5f4e9c8a735cd37e955292dd59d5 (diff)
downloadpkgsrc-5ba959ffa67f1f3a67df043d7c712a4b0561bf28.tar.gz
Buildlinkify.
Diffstat (limited to 'lang/nhc98')
-rw-r--r--lang/nhc98/Makefile10
-rw-r--r--lang/nhc98/distinfo4
-rw-r--r--lang/nhc98/patches/patch-aa6
3 files changed, 11 insertions, 9 deletions
diff --git a/lang/nhc98/Makefile b/lang/nhc98/Makefile
index 69ac10002f4..9ddccb73ab1 100644
--- a/lang/nhc98/Makefile
+++ b/lang/nhc98/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2001/07/15 12:40:20 jtb Exp $
+# $NetBSD: Makefile,v 1.11 2001/12/26 01:04:54 wiz Exp $
DISTNAME= nhc98src-1.06
PKGNAME= nhc98-1.06
@@ -9,10 +9,11 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.cs.york.ac.uk/fp/nhc98/
COMMENT= Portable Haskell 98 compiler
-DEPENDS+= ncurses>=5.2:../../devel/ncurses
-
# Not yet ported to 64-bit machines
-NOT_FOR_PLATFORM= *-*-alpha
+NOT_FOR_PLATFORM= *-*-alpha *-*-sparc64
+
+# KEY_RESIZE
+USE_NCURSES= YES
WRKSRC= ${WRKDIR}/${PKGNAME}
@@ -34,4 +35,5 @@ PLIST_SUBST+= HARCH=${HARCH}
post-extract:
@${FIND} ${WRKSRC}/docs -type d -name \*CVS\* | ${XARGS} ${RM} -rf
+.include "../../devel/ncurses/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/lang/nhc98/distinfo b/lang/nhc98/distinfo
index 3c3be75147c..1994e39d809 100644
--- a/lang/nhc98/distinfo
+++ b/lang/nhc98/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2001/07/15 12:40:20 jtb Exp $
+$NetBSD: distinfo,v 1.5 2001/12/26 01:04:54 wiz Exp $
SHA1 (nhc98src-1.06.tar.gz) = acae0326af4321c78db9179bdd2d6825906815bb
Size (nhc98src-1.06.tar.gz) = 5753553 bytes
-SHA1 (patch-aa) = 1ae868ccb72832d6a13ff6de7dd822386cacb9eb
+SHA1 (patch-aa) = 07dad625265606f85fd49e6718e5b27d05be18fe
diff --git a/lang/nhc98/patches/patch-aa b/lang/nhc98/patches/patch-aa
index 88964f36d0c..873975c4da1 100644
--- a/lang/nhc98/patches/patch-aa
+++ b/lang/nhc98/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 2001/07/15 12:40:20 jtb Exp $
+$NetBSD: patch-aa,v 1.3 2001/12/26 01:04:54 wiz Exp $
--- src/tracer/hat/Makefile.orig Fri Jun 1 14:13:44 2001
+++ src/tracer/hat/Makefile
@@ -8,8 +8,8 @@ $NetBSD: patch-aa,v 1.2 2001/07/15 12:40:20 jtb Exp $
# Thorsten's libraries and tools
-THORFLAGS = -g
-LINKFLAGS = -lncurses -g
-+THORFLAGS = -I$(LOCALBASE)/include
-+LINKFLAGS = -Wl,-R$(LOCALBASE)/lib -L$(LOCALBASE)/lib -lncurses
++THORFLAGS = -I${BUILDLINK_DIR}/include
++LINKFLAGS = -Wl,-R${LOCALBASE}/lib -L${BUILDLINK_DIR}/lib -lncurses
$(THOROBJS) : $(OBJDIR)/%.o : %.c
$(CC) -c $(THORFLAGS) -o $@ $<