aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/mutt-devel/Makefile
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-11-29 02:10:52 +0800
committerknu <knu@FreeBSD.org>2002-11-29 02:10:52 +0800
commit1f3f9a747bdc81c866c7a5d99ffae3e8048f541b (patch)
tree6609eef3d081fe8a4b3945d0cf34af879ec3c7b2 /japanese/mutt-devel/Makefile
parent9e9ea3ea7832b57f7d4a00b1397dc10426fee4bc (diff)
downloadfreebsd-ports-gnome-1f3f9a747bdc81c866c7a5d99ffae3e8048f541b.tar.gz
freebsd-ports-gnome-1f3f9a747bdc81c866c7a5d99ffae3e8048f541b.tar.zst
freebsd-ports-gnome-1f3f9a747bdc81c866c7a5d99ffae3e8048f541b.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.
Diffstat (limited to 'japanese/mutt-devel/Makefile')
-rw-r--r--japanese/mutt-devel/Makefile13
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)