aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-12-30 15:36:35 +0000
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-01 16:03:46 +0200
commit13fc6cf48d899de8424ca686e2718bb996667dc9 (patch)
treee4e0363d4782dbaca59977289dfb348b58096e73 /PKGBUILD
parentd8ed00fe5bb4ae030975b07168683addc00749a5 (diff)
downloadpkgbuilds-13fc6cf48d899de8424ca686e2718bb996667dc9.tar.xz
weechat-git: add -fPIC to CFLAGS
With CMake 3.1 it fails to build without explicitly specifying -fPIC in CFLAGS. Not sure if bug in WeeChat’s build system or in CMake
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b4b9746..f8de2b2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
pkgname=weechat-git
-pkgver=1.0.r242.ge253a25
+pkgver=1.1rc1.r12.gce98526
pkgrel=1
pkgdesc="Fast, light & extensible IRC client (curses UI)"
@@ -27,6 +27,10 @@ pkgver(){
build() {
cd weechat
+
+ # https://github.com/weechat/weechat/issues/287
+ export CFLAGS="$CFLAGS -fPIC"
+
cmake -DPREFIX=/usr \
-DPYTHON_EXECUTABLE=/usr/bin/python2 \
-DPYTHON_LIBRARY=/usr/lib/libpython2.7.so\