freebsd-ports/graphics/p5-Geo-LibProj-FFI/files/patch-Alien-proj
Po-Chuan Hsieh c00f409a8c
graphics/p5-Geo-LibProj-FFI: Add p5-Geo-LibProj-FFI 1.00
Geo::LibProj::FFI is a foreign function interface to the PROJ coordinate
transformation / projection library. Please see the PROJ library's C function
reference for further documentation. You should be able to use those C functions
as if they were Perl.

Geo::LibProj::FFI offers a large portion of the most commonly used PROJ
functions, but more could be added later. If you need a function that isn't yet
available in this module, please open a GitHub issue with a description of your
use case.
2025-01-29 01:02:40 +08:00

46 lines
1.3 KiB
Text

--- lib/Geo/LibProj/FFI.pm.orig 2024-05-12 18:33:31 UTC
+++ lib/Geo/LibProj/FFI.pm
@@ -5,7 +5,6 @@ package Geo::LibProj::FFI 1.00;
package Geo::LibProj::FFI 1.00;
-use Alien::proj 1.07;
use FFI::Platypus 1.50;
use FFI::C 0.08;
use Convert::Binary::C 0.04;
@@ -92,7 +91,7 @@ my $ffi = FFI::Platypus->new(
my $ffi = FFI::Platypus->new(
api => 2,
lang => 'C',
- lib => [Alien::proj->dynamic_libs],
+ lib => ['%%LOCALBASE%%/lib/libproj.so'],
);
FFI::C->ffi($ffi);
--- Makefile.PL.orig 2024-05-12 18:33:31 UTC
+++ Makefile.PL
@@ -17,7 +17,6 @@ my %WriteMakefileArgs = (
"MIN_PERL_VERSION" => "5.014000",
"NAME" => "Geo::LibProj::FFI",
"PREREQ_PM" => {
- "Alien::proj" => "1.07",
"Convert::Binary::C" => "0.04",
"Exporter::Easy" => 0,
"FFI::C" => "0.08",
--- t/00-report-prereqs.dd.orig 2024-05-12 18:33:31 UTC
+++ t/00-report-prereqs.dd
@@ -13,7 +13,6 @@ do { my $x = {
},
'runtime' => {
'requires' => {
- 'Alien::proj' => '1.07',
'Convert::Binary::C' => '0.04',
'Exporter::Easy' => '0',
'FFI::C' => '0.08',
@@ -35,4 +34,4 @@ do { my $x = {
}
};
$x;
- }
\ No newline at end of file
+ }