aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-08-31 11:26:52 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-08-31 11:41:42 +0000
commita8ac9839b15324b4e53e3c2d7bfb3bf7a8d5d7bc (patch)
tree925f14b55ed6221c44bf9bfd091b55b05a62de8a
parentb79862ad07e944bd02acc6776131e97457dd4a1b (diff)
downloadports-a8ac9839b15324b4e53e3c2d7bfb3bf7a8d5d7bc.tar.gz
ports-a8ac9839b15324b4e53e3c2d7bfb3bf7a8d5d7bc.zip
astro/p5-Astro-FITS-CFITSIO: Update to 1.16
-rw-r--r--astro/p5-Astro-FITS-CFITSIO/Makefile5
-rw-r--r--astro/p5-Astro-FITS-CFITSIO/distinfo6
-rw-r--r--astro/p5-Astro-FITS-CFITSIO/files/patch-Makefile.PL22
3 files changed, 14 insertions, 19 deletions
diff --git a/astro/p5-Astro-FITS-CFITSIO/Makefile b/astro/p5-Astro-FITS-CFITSIO/Makefile
index 2c2fea9c4687..8b4f575e6883 100644
--- a/astro/p5-Astro-FITS-CFITSIO/Makefile
+++ b/astro/p5-Astro-FITS-CFITSIO/Makefile
@@ -1,6 +1,5 @@
PORTNAME= Astro-FITS-CFITSIO
-PORTVERSION= 1.15
-PORTREVISION= 2
+PORTVERSION= 1.16
CATEGORIES= astro perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -13,7 +12,7 @@ LICENSE_COMB= dual
LIB_DEPENDS= libcfitsio.so:astro/cfitsio
-USES= perl5
+USES= localbase perl5
USE_PERL5= configure
CONFIGURE_ENV= CFITSIO=${LOCALBASE}
diff --git a/astro/p5-Astro-FITS-CFITSIO/distinfo b/astro/p5-Astro-FITS-CFITSIO/distinfo
index d32945710642..bd5e45ee7fcf 100644
--- a/astro/p5-Astro-FITS-CFITSIO/distinfo
+++ b/astro/p5-Astro-FITS-CFITSIO/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1600863394
-SHA256 (Astro-FITS-CFITSIO-1.15.tar.gz) = 1f874d685466e24985c9d74c022cf0f1d7e26a94c9afe378cd0239811214c500
-SIZE (Astro-FITS-CFITSIO-1.15.tar.gz) = 355379
+TIMESTAMP = 1661599559
+SHA256 (Astro-FITS-CFITSIO-1.16.tar.gz) = 2c14e22a91dd871b330f2017a945928cae7b1eb076b7449e6ff483f4073079aa
+SIZE (Astro-FITS-CFITSIO-1.16.tar.gz) = 354531
diff --git a/astro/p5-Astro-FITS-CFITSIO/files/patch-Makefile.PL b/astro/p5-Astro-FITS-CFITSIO/files/patch-Makefile.PL
index b81c298f07d0..22108919f682 100644
--- a/astro/p5-Astro-FITS-CFITSIO/files/patch-Makefile.PL
+++ b/astro/p5-Astro-FITS-CFITSIO/files/patch-Makefile.PL
@@ -1,15 +1,11 @@
---- Makefile.PL.orig 2012-01-19 19:18:45 UTC
+--- Makefile.PL.orig 2022-06-24 16:40:06 UTC
+++ Makefile.PL
-@@ -22,9 +22,9 @@ FOUND_IT: {
- }
- }
-
-- warn("CFITSIO environment variable not found, assuming /usr/local/cfitsio\n");
-- $inc = "-I/usr/local/cfitsio";
-- $libs = "-L/usr/local/cfitsio -lcfitsio -lm";
-+ warn("CFITSIO environment variable not found, assuming /usr/local/include\n");
-+ $inc = "-I/usr/local/include";
-+ $libs = "-L/usr/local/include -lcfitsio -lm";
-
- }
+@@ -1,7 +1,7 @@
+ use strict;
+ use warnings;
+-use Alien::Base::Wrapper 'WriteMakefile';
++use ExtUtils::MakeMaker;
+
+ # See lib/ExtUtils/MakeMaker.pm for details of how to influence
+ # the contents of the Makefile that is written.