]> git.pld-linux.org Git - packages/sip.git/commitdiff
- pass LIBDIR_X11 (needed for lib64 support too) auto/ac/sip-3_11-0_20040218_7
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 2 Mar 2004 21:09:54 +0000 (21:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- pass CC,CFLAGS in siplib (there are some plain C files)
- added missing _REENTRANT in siplib
- release .7

Changed files:
    sip.spec -> 1.34

sip.spec

index ca356a358eef625aea8208184a802d30ef20457b..7d64e83ef69d0e4e64824e5900d15e387e5ab6cb 100644 (file)
--- a/sip.spec
+++ b/sip.spec
@@ -4,7 +4,7 @@ Summary(pl):    Generator powi
 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
This page took 0.222937 seconds and 4 git commands to generate.