update official patch.

respect CFLAGS.

PR:		34206
Submitted by:	maintainer
This commit is contained in:
FUJISHIMA Satsuki 2002-01-23 18:14:52 +00:00
parent 9f03df061f
commit 2dc3cda712
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53648
6 changed files with 18 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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