diff options
author | sf <sf@FreeBSD.org> | 2002-01-24 02:14:52 +0800 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2002-01-24 02:14:52 +0800 |
commit | 51cd793a7c392278c6f5d522847faba575a52da7 (patch) | |
tree | dbe4758cf9f9df4ea45672ee405f0ffa004c8d26 /lang | |
parent | 03ff48fd2159fd241657cca732d269f34cc412bf (diff) | |
download | freebsd-ports-gnome-51cd793a7c392278c6f5d522847faba575a52da7.tar.gz freebsd-ports-gnome-51cd793a7c392278c6f5d522847faba575a52da7.tar.zst freebsd-ports-gnome-51cd793a7c392278c6f5d522847faba575a52da7.zip |
update official patch.
respect CFLAGS.
PR: 34206
Submitted by: maintainer
Diffstat (limited to 'lang')
-rw-r--r-- | lang/nhc98/Makefile | 6 | ||||
-rw-r--r-- | lang/nhc98/distinfo | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/lang/nhc98/Makefile b/lang/nhc98/Makefile index cff9b316a10f..cc7cb492a6e3 100644 --- a/lang/nhc98/Makefile +++ b/lang/nhc98/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/lang/nhc98/distinfo b/lang/nhc98/distinfo index 1534a598e5c4..a0a85cbe3317 100644 --- a/lang/nhc98/distinfo +++ b/lang/nhc98/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 |