diff options
-rw-r--r-- | news/newsx/Makefile | 5 | ||||
-rw-r--r-- | news/newsx/files/patch-aclocal.m4 | 11 |
2 files changed, 14 insertions, 2 deletions
diff --git a/news/newsx/Makefile b/news/newsx/Makefile index 722d33b..47b5c58 100644 --- a/news/newsx/Makefile +++ b/news/newsx/Makefile @@ -19,7 +19,8 @@ BUILD_DEPENDS= ${LOCALBASE}/news/lib/libcnews.a:${PORTSDIR}/news/cnews BUILD_DEPENDS= ${LOCALBASE}/news/lib/libinn.a:${PORTSDIR}/news/inn .endif -USE_AUTOMAKE_VER=14 +USE_AUTOMAKE= yes +USE_REINPLACE= yes CONFIGURE_ENV= PATH="${PATH}:${LOCALBASE}/news/bin" .if !defined(WITH_CNEWS) .if !defined(WITHOUT_INN_2-X) @@ -33,7 +34,7 @@ HDR_DIR= ${LOCALBASE}/news/include DOCS= AUTHORS COPYING ChangeLog FAQ INSTALL NEWS README TODO post-patch: - @${PERL} -pi -e "s:%%LOCALBASE%%:${LOCALBASE}:" ${WRKSRC}/configure.in + @${REINPLACE_CMD} -e "s:%%LOCALBASE%%:${LOCALBASE}:" ${WRKSRC}/configure.in pre-configure: @${ECHO} "*********************************************************" diff --git a/news/newsx/files/patch-aclocal.m4 b/news/newsx/files/patch-aclocal.m4 new file mode 100644 index 0000000..5ff957f --- /dev/null +++ b/news/newsx/files/patch-aclocal.m4 @@ -0,0 +1,11 @@ +--- aclocal.m4.orig Tue Jan 29 21:32:47 2002 ++++ aclocal.m4 Sun Jul 7 18:21:47 2002 +@@ -39,7 +39,7 @@ + AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir) + AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir) + AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir) +-AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) ++AM_MISSING_PROG(AUTOHEADER, autoheader213, $missing_dir) + AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) + AC_REQUIRE([AC_PROG_MAKE_SET])]) + |