[128987] trunk/dports/net/nrg
devans at macports.org
devans at macports.org
Mon Dec 1 23:10:37 PST 2014
Revision: 128987
https://trac.macports.org/changeset/128987
Author: devans at macports.org
Date: 2014-12-01 23:10:36 -0800 (Mon, 01 Dec 2014)
Log Message:
-----------
nrg: fix build, perl configuration, switch from perl5.12 to perl5.16, increment revision (#44405).
Modified Paths:
--------------
trunk/dports/net/nrg/Portfile
Added Paths:
-----------
trunk/dports/net/nrg/files/patch-roverpingd-send.c.diff
Modified: trunk/dports/net/nrg/Portfile
===================================================================
--- trunk/dports/net/nrg/Portfile 2014-12-02 05:17:56 UTC (rev 128986)
+++ trunk/dports/net/nrg/Portfile 2014-12-02 07:10:36 UTC (rev 128987)
@@ -4,7 +4,7 @@
name nrg
version 0.99.27
-revision 1
+revision 2
categories net
maintainers nomaintainer
platforms darwin
@@ -20,9 +20,12 @@
master_sites ftp://noc.hep.wisc.edu/src/nrg/ \
ftp://noc.hep.wisc.edu/pub/src/nrg/
checksums md5 c38e6b27bc99f8f7fd825bc6e1a44f68
-depends_lib port:rrdtool port:p5.12-time-hires
-patchfiles patch-nrg-discover-tcp.in.diff
+depends_lib port:rrdtool port:p5.16-time-hires
+patchfiles patch-nrg-discover-tcp.in.diff \
+ patch-roverpingd-send.c.diff
+configure.perl ${prefix}/bin/perl5.16
+
configure.pre_args --prefix=${prefix}/var/${name}
configure.args --bindir=${prefix}/bin \
@@ -70,7 +73,7 @@
${worksrcpath}/Makefile.in
reinplace "s|BIN_DIR = @bindir@|BIN_DIR = ${destroot}@bindir@|g" \
${worksrcpath}/Makefile.in
- reinplace "s|ETC_DIR = \${prefix}/etc|ETC_DIR = ${destroot}@sysconfdir@|g" \
+ reinplace "s|ETC_DIR = @sysconfdir@|ETC_DIR = ${destroot}@sysconfdir@|g" \
${worksrcpath}/Makefile.in
reinplace "s|TEMPLATE_DIR = \${prefix}/templates|TEMPLATE_DIR = ${destroot}@prefix@/templates|g" \
${worksrcpath}/Makefile.in
Added: trunk/dports/net/nrg/files/patch-roverpingd-send.c.diff
===================================================================
--- trunk/dports/net/nrg/files/patch-roverpingd-send.c.diff (rev 0)
+++ trunk/dports/net/nrg/files/patch-roverpingd-send.c.diff 2014-12-02 07:10:36 UTC (rev 128987)
@@ -0,0 +1,21 @@
+--- roverpingd/send.c.orig 2006-01-30 04:12:24.000000000 -0800
++++ roverpingd/send.c 2014-12-01 22:26:52.000000000 -0800
+@@ -32,6 +32,7 @@
+ static int nodes_pinged = 0;
+ static time_t ping_list_start_time;
+
++void set_alarm_itimer(time_t when_sec, time_t delta_ms);
+ /*------------------------------------------------------------------*/
+
+ void send_pings()
+@@ -168,9 +169,7 @@
+
+ /*------------------------------------------------------------------*/
+
+-set_alarm_itimer(when_sec,delta_ms)
+-time_t when_sec;
+-time_t delta_ms;
++void set_alarm_itimer(time_t when_sec, time_t delta_ms)
+ {
+ time_t now;
+ struct itimerval timer_time, old_timer_time;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141201/3cce9602/attachment-0001.html>
More information about the macports-changes
mailing list