freebsd-ports/irc/hexchat/files/patch-plugins_perl_meson.build
Steve Wills 0bf1d0c81f irc/hexchat: update to 2.14.2
PR:		231061
Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl> (maintainer)
2018-09-03 13:12:27 +00:00

11 lines
473 B
Text

--- plugins/perl/meson.build.orig 2018-08-29 16:41:08 UTC
+++ plugins/perl/meson.build
@@ -60,7 +60,7 @@ endforeach
perl_cflags += [
# Perl has its own 'config.h' that we must override
# TODO: Just rename ours to something more unique.
- '-include', meson.build_root() + '/config.h'
+ '-include', meson.build_root() + '/config.h', '-I%%PREFIX%%/lib/perl5/%%PERL_VER%%/mach/CORE', '-L%%PREFIX%%/lib/perl5/%%PERL_VER%%/mach/CORE', '-lperl'
]
if not cc.links('''