diff options
-rw-r--r-- | japanese/mutt-devel/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/japanese/mutt-devel/Makefile b/japanese/mutt-devel/Makefile index 74dd95960f39..ab9d849f3b65 100644 --- a/japanese/mutt-devel/Makefile +++ b/japanese/mutt-devel/Makefile @@ -70,7 +70,12 @@ pre-patch: (cd ${WRKSRC}; ${PATCH} -p1 < ${DIFFDIR}/${DIFFNAME}) pre-configure: - (cd ${WRKSRC}; aclocal -I m4) + (cd ${WRKSRC}; ${ACLOCAL} -I m4) + +pre-build: + @${PERL} -pi -e "s/^(ACLOCAL = ).+/\1${ACLOCAL}/; s/^(AUTOCONF = ).+/\1${AUTOCONF}/; \ + s/^(AUTOMAKE = ).+/\1${AUTOMAKE}/; s/^(AUTOHEADER = ).+/\1${AUTOHEADER}/" \ + ${BUILD_WRKSRC}/Makefile post-install: ${INSTALL_DATA} ${DIFFDIR}/INSTALL.JA-PATCH.en ${DOCSDIR} |