svn commit: r392672 - in head/sysutils/heartbeat: . files
Michael Gmelin
grembo at FreeBSD.org
Wed Jul 22 11:03:40 UTC 2015
Author: grembo
Date: Wed Jul 22 11:03:38 2015
New Revision: 392672
URL: https://svnweb.freebsd.org/changeset/ports/392672
Log:
sysutils/heartbeat: Add perl dependency and fix path to perl
PR: 201222
Approved by: maintainers (implicit)
Modified:
head/sysutils/heartbeat/Makefile
head/sysutils/heartbeat/files/patch-resources-OCF-IPaddr
Modified: head/sysutils/heartbeat/Makefile
==============================================================================
--- head/sysutils/heartbeat/Makefile Wed Jul 22 10:52:49 2015 (r392671)
+++ head/sysutils/heartbeat/Makefile Wed Jul 22 11:03:38 2015 (r392672)
@@ -3,7 +3,7 @@
PORTNAME= heartbeat
PORTVERSION= 2.1.4
-PORTREVISION= 24
+PORTREVISION= 25
CATEGORIES= sysutils
#MASTER_SITES= http://hg.linux-ha.org/lha-2.1/archive/STABLE-2.1.4.tar.bz2
MASTER_SITES= LOCAL/kuriyama/heartbeat
@@ -23,7 +23,7 @@ LIB_DEPENDS= libltdl.so:${PORTSDIR}/deve
libxml2.so:${PORTSDIR}/textproc/libxml2
BUILD_DEPENDS= bison:${PORTSDIR}/devel/bison
-USES= autoreconf cpe gettext gmake libtool pkgconfig python tar:bzip2 \
+USES= autoreconf cpe gettext gmake libtool perl5 pkgconfig python tar:bzip2 \
shebangfix
SHEBANG_FILES= ldirectord/ldirectord.in
USE_GNOME= glib20
@@ -125,6 +125,8 @@ post-extract:
@${CP} -f ${FILESDIR}/heartbeat.in ${WRKSRC}/heartbeat/init.d/
post-patch:
+ @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
+ ${WRKSRC}/resources/OCF/IPaddr
.if ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e 's|^\(docdir.*doc/\).*|\1${PORTNAME}|' \
${WRKSRC}/configure.in \
Modified: head/sysutils/heartbeat/files/patch-resources-OCF-IPaddr
==============================================================================
--- head/sysutils/heartbeat/files/patch-resources-OCF-IPaddr Wed Jul 22 10:52:49 2015 (r392671)
+++ head/sysutils/heartbeat/files/patch-resources-OCF-IPaddr Wed Jul 22 11:03:38 2015 (r392672)
@@ -26,7 +26,7 @@ Patch attached with submission follows:
+ ipaddr="$1";
+
+ /sbin/ifconfig \
-+ | /usr/bin/perl -w -e '
++ | %%LOCALBASE%%/bin/perl -w -e '
+
+ my $ip = $ARGV[0];
+
More information about the svn-ports-head
mailing list