]> git.pld-linux.org Git - packages/bind.git/commitdiff
- added bcond_without static_libs
authortwittner <twittner@pld-linux.org>
Fri, 17 Jun 2005 22:16:43 +0000 (22:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bind.spec -> 1.223

bind.spec

index 055b6efb3ac16c29e9005f852fa0670888ff5ef9..53e9d0007d14f1f06ce441858f88466cf90cbcd5 100644 (file)
--- a/bind.spec
+++ b/bind.spec
@@ -3,6 +3,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
@@ -330,6 +331,7 @@ cd ../..
        %{?with_ssl:--with-openssl=%{_prefix}} \
        %{?with_ipv6:--enable-ipv6} \
        --enable-libbind \
+       %{!?with_static_libs:--enable-static=no} \
        --enable-threads \
        --disable-getifaddrs
 
@@ -484,6 +486,8 @@ fi
 %{_includedir}/*
 %{_mandir}/man3/*
 
+%if %{with static}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/*.a
+%endif
This page took 0.069569 seconds and 4 git commands to generate.