openbsd-ports/converters/p5-Sereal-Encoder/patches/patch-Makefile_PL
2022-10-10 07:46:17 +00:00

15 lines
679 B
Plaintext

Index: Makefile.PL
--- Makefile.PL.orig
+++ Makefile.PL
@@ -99,8 +99,9 @@ inc::Sereal::BuildTools::WriteMakefile(
ABSTRACT_FROM => 'lib/Sereal/Encoder.pm',
AUTHOR => 'Steffen Mueller <smueller@cpan.org>, Yves Orton <yves@cpan.org>',
LIBS => [$libs], # e.g., '-lm'
+ LIBS => ["-L${LOCALBASE}/lib $libs"], # e.g., '-lm'
DEFINE => $defines,
- INC => '-I.', # e.g., '-I. -I/usr/include/other'
+ INC => "-I. -I${LOCALBASE}/include", # e.g., '-I. -I/usr/include/other'
OPTIMIZE => $optimize,
DIR => $subdirs,
OBJECT => $objects,