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-devel | |
parent | 499f6035b347097b351352c5d8f0a30ac6b45a92 (diff) | |
download | ports-eb07396604dfc1cad92f08bd9c18b82cdbe6f34f.tar.gz ports-eb07396604dfc1cad92f08bd9c18b82cdbe6f34f.zip |
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-devel')
-rw-r--r-- | japanese/mutt-devel/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/japanese/mutt-devel/Makefile b/japanese/mutt-devel/Makefile index 52433afb7e25..814ebbcc7a7d 100644 --- a/japanese/mutt-devel/Makefile +++ b/japanese/mutt-devel/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,8 +40,8 @@ MANUALVERSION= 1.4 FETCH_BEFORE_ARGS= -A # ha4.seikyou.ne.jp is running broken httpd -DIST_SUBDIR= mutt NO_LATEST_LINK= yes +USE_REINPLACE= yes USE_GMAKE= yes USE_AUTOMAKE= yes USE_OPENSSL= yes @@ -82,11 +83,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) |