[packages/weechat] don't set PREFIX

atler atler at pld-linux.org
Fri Apr 3 15:08:57 CEST 2026


commit 785b7ef463e0aa96714e4ea4e1a3f4bdd4837f88
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri Apr 3 13:19:53 2026 +0200

    don't set PREFIX
    
    not used by weechat but appears to be used internally by cmake.
    setting it to unexpected value results in wrong compilation flags in
    some cases.

 weechat.spec | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/weechat.spec b/weechat.spec
index 6b79d0e..18af0c5 100644
--- a/weechat.spec
+++ b/weechat.spec
@@ -202,7 +202,6 @@ File transfer and direct chat plugin for weechat.
 install -d build
 cd build
 %cmake \
-	-DPREFIX=%{_prefix} \
 	-DLIBDIR=%{_libdir} \
 	-DENABLE_HEADLESS=ON \
 	-DENABLE_DOC_INCOMPLETE=ON \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/weechat.git/commitdiff/5229bec257357c92239c3beae5691aaa36371542



More information about the pld-cvs-commit mailing list