diff options
author | OKAZAKI Tetsurou <okazaki@FreeBSD.org> | 2002-06-20 19:33:47 +0000 |
---|---|---|
committer | OKAZAKI Tetsurou <okazaki@FreeBSD.org> | 2002-06-20 19:33:47 +0000 |
commit | 79eb24a0367e8edf7ef418be738f1d887591fea3 (patch) | |
tree | 2a05e83df7837f3ac2b6304baed347fc53d22054 /japanese | |
parent | 489fefbd8848e3cd7370863e89984ae3e686a052 (diff) | |
download | ports-79eb24a0367e8edf7ef418be738f1d887591fea3.tar.gz ports-79eb24a0367e8edf7ef418be738f1d887591fea3.zip |
Notes
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/gxditview/Makefile | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/japanese/gxditview/Makefile b/japanese/gxditview/Makefile index d62f7643a59d..19e8d528d485 100644 --- a/japanese/gxditview/Makefile +++ b/japanese/gxditview/Makefile @@ -22,7 +22,11 @@ MAINTAINER= okazaki@FreeBSD.org RUN_DEPENDS= ${LOCALBASE}/bin/groff:${PORTSDIR}/japanese/groff -USE_AUTOCONF= yes +# declare USE_AUTOCONF_VER as 213 until bsd.port.mk supports 252 (or later) +USE_AUTOCONF_VER= 213 +.if ${USE_AUTOCONF_VER} == 213 +USE_REINPLACE= yes +.endif USE_GMAKE= yes USE_IMAKE= yes @@ -35,6 +39,8 @@ INSTALL_WRKSRC= ${WRKDIR}/${DISTNAME}/src/xditview MAN1= gxditview.1 +.include <bsd.port.pre.mk> + # workaround for autoconf-2.13 CONFIGUREIN_FILTER= \ @@ -43,15 +49,18 @@ CONFIGUREIN_FILTER= \ -e 's|AC_OUTPUT|dnl|g;' \ -e 's|AC_CONFIG_FILES|AC_OUTPUT|g;' -ACLOCAL_FILTER= -e 's/AC_LANG_POP\(C\+\+\)/AC_LANG_RESTORE/g;' \ - -e 's/AC_LANG_PUSH\(C\+\+\)/AC_LANG_SAVE\nAC_LANG_CPLUSPLUS/g;' +ACLOCAL_FILTER= \ + -e 's/AC_LANG_POP[(]C[+][+][)]/AC_LANG_RESTORE/g;' \ + -e 's/AC_LANG_PUSH[(]C[+][+][)]/AC_LANG_SAVE[]AC_LANG_CPLUSPLUS/g;' post-extract: - ${LN} -sf configure.ac ${WRKSRC}/configure.in ${CP} ${FILESDIR}/Imakefile ${WRKSRC} post-patch: - ${PERL} -pi ${CONFIGUREIN_FILTER} ${WRKSRC}/configure.in - ${PERL} -pi ${ACLOCAL_FILTER} ${WRKSRC}/aclocal.m4 +.if ${USE_AUTOCONF_VER} == 213 + ${CP} -p ${WRKSRC}/configure.ac ${WRKSRC}/configure.in + ${REINPLACE_CMD} ${CONFIGUREIN_FILTER} ${WRKSRC}/configure.in + ${REINPLACE_CMD} ${ACLOCAL_FILTER} ${WRKSRC}/aclocal.m4 +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |