]> git.pld-linux.org Git - packages/blackbox.git/commitdiff
- added conditonal _with_gcc3 for building with gcc3
authorfilon <filon@sokrates.mimuw.edu.pl>
Fri, 8 Feb 2002 10:04:12 +0000 (10:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- cleaned up CXX stuff, release 3

Changed files:
    blackbox.spec -> 1.53

blackbox.spec

index 45570302cb041bdae77e3bd8b09747d41baf8024..d37e19e4cd70c5750888fc128dd3fb5117086779 100644 (file)
@@ -1,8 +1,10 @@
+# _with_gcc3:  budowanie z gcc3 
+
 Summary:       Very small and fast window manger for the X Window
 Summary(pl):   Ma³y i szybki menad¿er okien dla X Window
 Name:          blackbox
 Version:       0.62.1
-Release:       2
+Release:       3
 License:       GPL
 Group:         X11/Window Managers
 Group(de):     X11/Fenstermanager
@@ -23,6 +25,9 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define                _mandir         %{_prefix}/man
 %define                _sysconfdir     /etc/X11/%{name}
 
+%{?_with_gcc3:%define          __cxx           "%{__cc} -lstdc++"}
+%{!?_with_gcc3:%define         __cxx           "%{__cc}"}
+
 %description
 Blackbox is a window manager for the X Window environment, which is
 almost completely compliant with ICCCM specified operation policies.
@@ -47,7 +52,7 @@ aclocal
 autoconf
 automake -a -c
 %configure
-%{__make} CXX=%{?__cxx:"%{__cxx}"}%{!?__cxx:"g++"}
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.043457 seconds and 4 git commands to generate.