Revision
139072
Author
devans@macports.org
Date
2015-07-30 20:13:32 -0700 (Thu, 30 Jul 2015)

Log Message

fusioninventory-agent: add +perl5_22 variant and make it the default, increment revision (#48365).

Modified Paths

Diff

Modified: trunk/dports/perl/fusioninventory-agent/Portfile (139071 => 139072)


--- trunk/dports/perl/fusioninventory-agent/Portfile	2015-07-31 02:21:15 UTC (rev 139071)
+++ trunk/dports/perl/fusioninventory-agent/Portfile	2015-07-31 03:13:32 UTC (rev 139072)
@@ -4,11 +4,16 @@
 PortSystem          1.0
 PortGroup           perl5 1.0
 
-perl5.branches      5.16 5.18 5.20
+perl5.require_variant   yes
+perl5.conflict_variants yes
+perl5.branches          5.16 5.18 5.20 5.22
+perl5.default_branch    5.22
 perl5.create_variants   ${perl5.branches}
 
 name                fusioninventory-agent
 perl5.setup         FusionInventory-Agent 2.3.16 ../by-authors/id/G/GR/GROUSSE/
+revision            1
+
 platforms           darwin
 maintainers         nomaintainer
 license             GPL-2+

Modified: trunk/dports/perl/fusioninventory-agent/files/patch-Makefile.PL.diff (139071 => 139072)


--- trunk/dports/perl/fusioninventory-agent/files/patch-Makefile.PL.diff	2015-07-31 02:21:15 UTC (rev 139071)
+++ trunk/dports/perl/fusioninventory-agent/files/patch-Makefile.PL.diff	2015-07-31 03:13:32 UTC (rev 139072)
@@ -1,6 +1,6 @@
 --- Makefile.PL.orig	2015-01-14 22:47:05.000000000 -0800
 +++ Makefile.PL	2015-01-14 22:47:52.000000000 -0800
-@@ -117,7 +117,7 @@
+@@ -116,7 +116,7 @@
  # look for already existing configuration file
  my $config_file_message = -f "$MY::variables{SYSCONFDIR}/agent.cfg" ?
      "previous configuration file found, new one will be installed as agent.cfg.new" :
@@ -9,7 +9,7 @@
  
  print <<EOF;
  
-@@ -209,7 +209,7 @@
+@@ -208,7 +208,7 @@
  	if [ -f $(DESTDIR)/$(SYSCONFDIR)/agent.cfg ]; then \
  	    install -m 644 etc/agent.cfg $(DESTDIR)$(SYSCONFDIR)/agent.cfg.new; \
  	else \