freebsd-ports/graphics/p5-Sane/files/patch-Makefile.PL
Chin-San Huang cdb6af1fbc Add p5-Sane, Perl bindings for the SANE (Scanner Access Now Easy) Project.
This module allows you to access SANE-compatible scanners in a Perlish and
object-oriented way, freeing you from the casting and memory management in
C, yet remaining very close in spirit to original API.

The Sane module allows a Perl developer to use SANE-compatible scanners.
Find out more about SANE at http://www.sane-project.org.

WWW: http://search.cpan.org/dist/Sane/
2009-01-17 15:42:57 +00:00

11 lines
419 B
Raku

--- Makefile.PL.orig 2009-01-17 23:24:51.000000000 +0800
+++ Makefile.PL 2009-01-17 23:25:01.000000000 +0800
@@ -16,7 +16,7 @@
# Can't assume ExtUtils::PkgConfig will return anything useful until
# the pkg-config files ship with sane.
my $lib = '-lsane';
-my $inc = '-I. ';
+my $inc = '-I. -I${LOCALBASE}/include';
if (eval {
%pkgcfg = ExtUtils::PkgConfig->find ('sane-backends >= '. $build_reqs{libsane})
}) {