forked from Lainports/freebsd-ports
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/
11 lines
419 B
Raku
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})
|
|
}) {
|