summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-07-07 18:19:52 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-07-07 18:19:52 +0000
commit3e0e33d2848bd2f8193e09c51fe7ab14c9914e7b (patch)
treead06d10187b3d2169419f9ae77244f0d89ccf40c /news
parentupgrade to 1.0.6 (diff)
fixing make + replacing PERL by REINPLACE_CMD
PR: 40300 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=62582
Diffstat (limited to 'news')
-rw-r--r--news/newsx/Makefile5
-rw-r--r--news/newsx/files/patch-aclocal.m411
2 files changed, 14 insertions, 2 deletions
diff --git a/news/newsx/Makefile b/news/newsx/Makefile
index 722d33b6eba2..47b5c5831a23 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 000000000000..5ff957faf21e
--- /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])])
+