[Bug 474149] Review Request: chipmunk - A rigid body physics library

bugzilla at redhat.com bugzilla at redhat.com
Thu Jan 8 17:32:52 UTC 2009


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=474149





--- Comment #15 from Conrad Meyer <konrad at tylerc.org>  2009-01-08 12:32:51 EDT ---
(In reply to comment #14)
> %if "%{?_lib}" == "lib64" 
>   %{cmake} -DLIB_SUFFIX=64
> %else
>   %{cmake}
> %endif 


%{cmake} already expands to something like this:
  CFLAGS="${CFLAGS:--O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic}" ; export
CFLAGS ; 
  CXXFLAGS="${CXXFLAGS:--O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic}" ; export
CXXFLAGS ; 
  FFLAGS="${FFLAGS:--O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic}" ; export
FFLAGS ; 
  /usr/bin/cmake \
        -DCMAKE_INSTALL_PREFIX:PATH=/usr \
        -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64 \
        -DINCLUDE_INSTALL_DIR:PATH=/usr/include \
        -DLIB_INSTALL_DIR:PATH=/usr/lib64 \
        -DSYSCONF_INSTALL_DIR:PATH=/etc \
        -DSHARE_INSTALL_PREFIX:PATH=/usr/share \
%if "lib64" == "lib64" 
        -DLIB_SUFFIX=64 \
%endif 
        -DBUILD_SHARED_LIBS:BOOL=ON


So I think what is passed to cmake is not the problem. As a "hack" solution you
could move stuff from /usr/lib to %{_libdir} in %install, or else fix the
CMakeLists.txt files.

But this is already approved and you will have trouble building in koji until
this is fixed anyways, so no need to check back in with me unless you want help
:).

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the Fedora-package-review mailing list