FreeBSD Bugzilla – Attachment 158191 Details for
Bug 201222
sysutils/heartbeat: Add perl dependency and fix path to perl [patch]
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to add perl dependency and fix path to perl
heartbeat_perl.patch (text/plain), 1.63 KB, created by
Michael Gmelin
on 2015-06-30 15:54:14 UTC
(
hide
)
Description:
Patch to add perl dependency and fix path to perl
Filename:
MIME Type:
Creator:
Michael Gmelin
Created:
2015-06-30 15:54:14 UTC
Size:
1.63 KB
patch
obsolete
>Index: sysutils/heartbeat/Makefile >=================================================================== >--- sysutils/heartbeat/Makefile (revision 385148) >+++ sysutils/heartbeat/Makefile (working copy) >@@ -3,11 +3,10 @@ > > 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= ${MASTER_SITE_LOCAL} >-MASTER_SITE_SUBDIR= kuriyama/heartbeat >+MASTER_SITES= LOCAL/kuriyama/heartbeat > DISTNAME= STABLE-${PORTVERSION} > DIST_SUBDIR= heartbeat > >@@ -24,7 +23,7 @@ > 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 >@@ -126,6 +125,8 @@ > @${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 \ >Index: sysutils/heartbeat/files/patch-resources-OCF-IPaddr >=================================================================== >--- sysutils/heartbeat/files/patch-resources-OCF-IPaddr (revision 385148) >+++ sysutils/heartbeat/files/patch-resources-OCF-IPaddr (working copy) >@@ -26,7 +26,7 @@ > + ipaddr="$1"; > + > + /sbin/ifconfig \ >-+ | /usr/bin/perl -w -e ' >++ | %%LOCALBASE%%/bin/perl -w -e ' > + > + my $ip = $ARGV[0]; > +
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
grembo
:
maintainer-approval?
Actions:
View
|
Diff
Attachments on
bug 201222
: 158191