diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2002-11-28 18:10:52 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2002-11-28 18:10:52 +0000 |
commit | eb07396604dfc1cad92f08bd9c18b82cdbe6f34f (patch) | |
tree | 66b549d2084f3b453e5db1f0be9b7fb06cda37e2 /japanese/mutt/Makefile | |
parent | Use USE_PERL5_BUILD where appropriate, instead of hardcoding (diff) |
Now that AUTOCONF and friends contain slashes in them, use a separator
other than the slash for s///. This fixes the build.
Use REINPLACE_CMD instead of PERL while I'm here.
Notes
Notes:
svn path=/head/; revision=71215
Diffstat (limited to 'japanese/mutt/Makefile')
-rw-r--r-- | japanese/mutt/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/japanese/mutt/Makefile b/japanese/mutt/Makefile index f080e8edf6eb..5e27b976700c 100644 --- a/japanese/mutt/Makefile +++ b/japanese/mutt/Makefile @@ -18,6 +18,7 @@ DISTNAME= ${PORTNAME}-${VERSION}i DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${DISTNAME}-ja.${JP_VERSION}${EXTRACT_SUFX} \ manual_ja-${MANUALVERSION}i-0${EXTRACT_SUFX} +DIST_SUBDIR= mutt MAINTAINER= shuna@pop16.odn.ne.jp @@ -39,7 +40,7 @@ MANUALVERSION= 1.4 FETCH_BEFORE_ARGS= -A # ha4.seikyou.ne.jp is running broken httpd -DIST_SUBDIR= mutt +USE_REINPLACE= yes USE_GMAKE= yes USE_AUTOMAKE= yes USE_OPENSSL= yes @@ -81,11 +82,11 @@ pre-configure: (cd ${WRKSRC}; ${ACLOCAL} -I m4) post-configure: - @${PERL} -pi -e "\ - s/^(s%\@ACLOCAL\@%).+(%g)/\1${ACLOCAL}\2/; \ - s/^(s%\@AUTOCONF\@%).+(%g)/\1${AUTOCONF}\2/; \ - s/^(s%\@AUTOMAKE\@%).+(%g)/\1${AUTOMAKE}\2/; \ - s/^(s%\@AUTOHEADER\@%).+(%g)/\1${AUTOHEADER}\2/" \ + @${REINPLACE_CMD} -E "\ + s|^(s%\@ACLOCAL\@%).+(%g)|\1${ACLOCAL}\2|; \ + s|^(s%\@AUTOCONF\@%).+(%g)|\1${AUTOCONF}\2|; \ + s|^(s%\@AUTOMAKE\@%).+(%g)|\1${AUTOMAKE}\2|; \ + s|^(s%\@AUTOHEADER\@%).+(%g)|\1${AUTOHEADER}\2|" \ ${BUILD_WRKSRC}/config.status .if !defined(NOPORTDOCS) |