aboutsummaryrefslogtreecommitdiff
path: root/devel/hs-hat
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2002-01-23 18:14:52 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2002-01-23 18:14:52 +0000
commit2dc3cda712732235c2dbed7a962cacfb3727f89b (patch)
tree43ebcb7693acd169dab0c2d82d17b1e5a0b64c67 /devel/hs-hat
parent9f03df061f194a74280d3c08f1af0716fce81a84 (diff)
downloadports-2dc3cda712732235c2dbed7a962cacfb3727f89b.tar.gz
ports-2dc3cda712732235c2dbed7a962cacfb3727f89b.zip
Notes
Diffstat (limited to 'devel/hs-hat')
-rw-r--r--devel/hs-hat/Makefile6
-rw-r--r--devel/hs-hat/distinfo2
2 files changed, 6 insertions, 2 deletions
diff --git a/devel/hs-hat/Makefile b/devel/hs-hat/Makefile
index cff9b316a10f..cc7cb492a6e3 100644
--- a/devel/hs-hat/Makefile
+++ b/devel/hs-hat/Makefile
@@ -6,9 +6,11 @@
PORTNAME= nhc98
PORTVERSION= 1.10
+PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= ftp://ftp.cs.york.ac.uk/pub/haskell/${PORTNAME}/
DISTNAME= ${PORTNAME}src-${PORTVERSION}
+DIST_SUBDIR= nhc98
PATCH_SITES= ${MASTER_SITES}
PATCHFILES= patch-1.10-IO \
@@ -42,7 +44,6 @@ MAKE_ENV+= PATH=${PREFIX}/jdk1.1.8/bin:$$PATH
USE_GMAKE= yes
HAS_CONFIGURE= yes
-DIST_SUBDIR= nhc98
.if !defined(NOPORTDOCS)
CONFIGURE_ARGS+= --docdir=${PREFIX}/share/doc/nhc98 +docs
@@ -63,6 +64,9 @@ pre-fetch:
@${ECHO} ""
.endif
+post-patch:
+ @${PERL} -pi.orig -e 's|-O3|${CFLAGS}|' ${WRKSRC}/Makefile.inc
+
# We need this to ensure that the libs will be installed into
# ${PREFIX}/lib/nhc98. Otherwise the libs will be installed
# into the build directory. The configure option won't work in the
diff --git a/devel/hs-hat/distinfo b/devel/hs-hat/distinfo
index 1534a598e5c4..a0a85cbe3317 100644
--- a/devel/hs-hat/distinfo
+++ b/devel/hs-hat/distinfo
@@ -1,5 +1,5 @@
MD5 (nhc98/nhc98src-1.10.tar.gz) = 159e043a520d2eaa886213b53d50f666
-MD5 (nhc98/patch-1.10-IO) = 46b5c25be1dd764c84a3ddcab9a94c38
+MD5 (nhc98/patch-1.10-IO) = 1b5ee9d82854217973d5a128f913b285
MD5 (nhc98/patch-1.10-arrow) = d27deb1683c33d58a41c3eb28e9c0e9a
MD5 (nhc98/patch-1.10-blockbuffer) = f66a8885fd0bd037b68e8024942fc274
MD5 (nhc98/patch-1.10-commas) = fda47aeaa34b6bcb981f93d905baf889