[packages/dar] - disable dar_static (won't build with curl enabled due to shared-only libs like Kerberos), fixed bu
qboosh
qboosh at pld-linux.org
Mon Jul 21 21:26:52 CEST 2025
commit e31ac229508c03b4a550e534429c8666c15a7fe6
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Jul 21 21:28:34 2025 +0200
- disable dar_static (won't build with curl enabled due to shared-only libs like Kerberos), fixed build with recent gettext
dar.spec | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/dar.spec b/dar.spec
index 2fb149d..7309edb 100644
--- a/dar.spec
+++ b/dar.spec
@@ -1,7 +1,8 @@
#
# Conditional build:
+%bcond_without curl # remote repository support via curl
%bcond_without xattr # support for Linux extented attributes
-%bcond_without static # dar_static program
+%bcond_with static # dar_static program (conflicts with curl)
%bcond_without static_libs # static library (required for dar_static)
%bcond_without threads # threading using libthreadar library
%bcond_without python # CPython (3.x) binding
@@ -308,18 +309,20 @@ Wiązanie Pythona 3 do biblioteki dar.
%build
%{__gettextize}
%{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I m4
%{__autoconf}
%{__autoheader}
%{__automake}
%configure \
%{!?with_static:--disable-dar-static} \
%{!?with_xattr:--disable-ea-support} \
+ %{!?with_curl:--disable-libcurl-linking} \
--enable-mode=64 \
%{!?with_python:--disable-python-binding} \
--enable-static%{!?with_static_libs:=no} \
%{!?with_threads:--disable-threadar} \
--disable-upx
+
%{__make}
%install
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dar.git/commitdiff/e31ac229508c03b4a550e534429c8666c15a7fe6
More information about the pld-cvs-commit
mailing list