hexchat: fix cross

Closes: #1791 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Johannes Brechtmann 2018-08-15 13:52:40 +02:00 committed by Jürgen Buchmüller
parent 97ae5931fd
commit 32a4badf28
No known key found for this signature in database
GPG key ID: 6764EC32352D0647
2 changed files with 21 additions and 1 deletions

View file

@ -0,0 +1,20 @@
--- plugins/perl/meson.build.orig 2018-08-15 13:30:17.108881970 +0200
+++ plugins/perl/meson.build 2018-08-15 13:30:36.682882751 +0200
@@ -39,7 +39,7 @@
perl_ldflags = []
perl_rpath = ''
foreach flag : ret.stdout().strip().split(' ')
- if flag.startswith('-L') or flag.startswith('-l')
+ if flag.startswith('-l')
perl_ldflags += flag
endif
if flag.startswith('-Wl,-rpath,')
@@ -52,6 +52,8 @@
endif
endforeach
+perl_ldflags += '-L${XBPS_CROSS_BASE}/usr/lib/perl5/core_perl/CORE'
+
perl_cflags += [
# Perl has its own 'config.h' that we must override
# TODO: Just rename ours to something more unique.

View file

@ -1,7 +1,7 @@
# Template file for 'hexchat' # Template file for 'hexchat'
pkgname=hexchat pkgname=hexchat
version=2.14.1 version=2.14.1
revision=4 revision=5
build_style=meson build_style=meson
configure_args="-Dwith-dbus=true -Dwith-ssl=true -Dwith-text=false configure_args="-Dwith-dbus=true -Dwith-ssl=true -Dwith-text=false
-Dwith-perl=true -Dwith-python=python3" -Dwith-perl=true -Dwith-python=python3"