SPECS: bind.spec - added bcond_without static_libs

twittner twittner at pld-linux.org
Sat Jun 18 00:16:48 CEST 2005


Author: twittner                     Date: Fri Jun 17 22:16:48 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added bcond_without static_libs

---- Files affected:
SPECS:
   bind.spec (1.222 -> 1.223) 

---- Diffs:

================================================================
Index: SPECS/bind.spec
diff -u SPECS/bind.spec:1.222 SPECS/bind.spec:1.223
--- SPECS/bind.spec:1.222	Fri Jun 17 22:42:07 2005
+++ SPECS/bind.spec	Sat Jun 18 00:16:43 2005
@@ -4,6 +4,7 @@
 %bcond_without	ssl	# build without OpenSSL support
 %bcond_without	ipv6	# build without IPv6 support
 %bcond_without	ldap	# build without LDAP support
+%bcond_without	static_libs # build without static libraries
 #
 Summary:	BIND - DNS name server
 Summary(de):	BIND - DNS-Namenserver
@@ -331,6 +332,7 @@
 	%{?with_ssl:--with-openssl=%{_prefix}} \
 	%{?with_ipv6:--enable-ipv6} \
 	--enable-libbind \
+	%{!?with_static_libs:--enable-static=no} \
 	--enable-threads \
 	--disable-getifaddrs
 
@@ -485,9 +487,11 @@
 %{_includedir}/*
 %{_mandir}/man3/*
 
+%if %{with static}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/*.a
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -495,6 +499,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.223  2005/06/17 22:16:43  twittner
+- added bcond_without static_libs
+
 Revision 1.222  2005/06/17 20:42:07  qboosh
 - sorted verify() flags
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/bind.spec?r1=1.222&r2=1.223&f=u




More information about the pld-cvs-commit mailing list