SPECS: mono.spec - added bcond_without static_libs

twittner twittner at pld-linux.org
Sun Jun 19 11:22:24 CEST 2005


Author: twittner                     Date: Sun Jun 19 09:22:24 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added bcond_without static_libs

---- Files affected:
SPECS:
   mono.spec (1.124 -> 1.125) 

---- Diffs:

================================================================
Index: SPECS/mono.spec
diff -u SPECS/mono.spec:1.124 SPECS/mono.spec:1.125
--- SPECS/mono.spec:1.124	Sun Jun 19 00:42:00 2005
+++ SPECS/mono.spec	Sun Jun 19 11:22:19 2005
@@ -2,6 +2,7 @@
 #
 # Conditional build:
 %bcond_without	nptl		# don't use TLS (which effectively requires NPTL libs)
+%bcond_without	static_libs	# don't build static libraries
 #
 Summary:	Common Language Infrastructure implementation
 Summary(pl):	Implementacja Common Language Infrastructure
@@ -188,6 +189,7 @@
 	--enable-fast-install \
 	%{?with_nptl:--with-tls=__thread} \
 	%{!?with_nptl:--with-tls=pthread} \
+	%{!?with_static_libs:--enable-static=no} \
 	--with-preview=yes \
 	--with-icu=no \
 	--with-jit=yes \
@@ -389,9 +391,11 @@
 %attr(755,root,root) /usr/lib/mono/1.0/ilasm*
 %{_mandir}/man1/ilasm.1*
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -399,6 +403,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.125  2005/06/19 09:22:19  twittner
+- added bcond_without static_libs
+
 Revision 1.124  2005/06/18 22:42:00  qboosh
 - pass --enable-fast-install to configure
   (disabling it by default in configure.in breaks monodis+monograph install
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mono.spec?r1=1.124&r2=1.125&f=u




More information about the pld-cvs-commit mailing list