diff options
author | Jakub Bogusz | 2004-03-02 21:09:54 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | dd4053c2c94300027b935e13da067a8464345f82 (patch) | |
tree | 2063b9000313a19fbe89b18106cf5679438091ec | |
parent | f7707c80f6b74d9b9908fa4195693fed15339155 (diff) | |
download | sip-dd4053c2c94300027b935e13da067a8464345f82.zip sip-dd4053c2c94300027b935e13da067a8464345f82.tar.gz |
- pass LIBDIR_X11 (needed for lib64 support too)auto/ac/sip-3_11-0_20040218_7
- pass CC,CFLAGS in siplib (there are some plain C files)
- added missing _REENTRANT in siplib
- release .7
Changed files:
sip.spec -> 1.34
-rw-r--r-- | sip.spec | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -4,7 +4,7 @@ Summary(pl): Generator powiązań Pythona z bibliotekami klas C++ Name: sip Version: 3.11 %define _snap 20040218 -Release: 0.%{_snap}.6 +Release: 0.%{_snap}.7 License: GPL Group: Development/Languages/Python # Source0: http://www.river-bank.demon.co.uk/download/sip/%{name}-x11-gpl-%{version}.tar.gz @@ -46,7 +46,8 @@ python configure.py \ -d %{py_sitedir} \ -e %{py_incdir} \ -l qt-mt \ - LIBDIR_QT="%{_libdir}" + LIBDIR_QT="%{_libdir}" \ + LIBDIR_X11="/usr/X11R6/%{_lib}" %{__make} -C sipgen \ CC="%{__cc}" \ @@ -54,8 +55,10 @@ python configure.py \ LINK="%{__cc}" %{__make} -C siplib \ + CC="%{__cc}" \ CXX="%{__cxx}" \ - CXXFLAGS="%{rpmcflags} -fPIC -pipe -w" \ + CFLAGS="%{rpmcflags} -fPIC -pipe -w -D_REENTRANT" \ + CXXFLAGS="%{rpmcflags} -fPIC -pipe -w -D_REENTRANT" \ LINK="%{__cxx}" %install |