- updated shared patch to use -lm when linking the library auto/th/colamd-2_6_0-0_2
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 1 Apr 2007 10:15:35 +0000 (10:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- pass libdir to make
- BR: libtool

Changed files:
    COLAMD.spec -> 1.4

COLAMD.spec

index 7053427e3156b7c8d67021aea163c032c18e6ae2..225019ea499cbb78557c423e451411cfd86058df 100644 (file)
@@ -11,6 +11,7 @@ Patch0:               %{name}-ufconfig.patch
 Patch1:                %{name}-shared.patch
 URL:           http://www.cise.ufl.edu/research/sparse/colamd/
 BuildRequires: UFconfig
+BuildRequires: libtool >= 2:1.5
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -70,12 +71,15 @@ Statyczna biblioteka colamd.
 %build
 %{__make} \
        CC="%{__cc}" \
-       CFLAGS="%{rpmcflags}"
+       CFLAGS="%{rpmcflags}" \
+       libdir=%{_libdir}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
+       DESTDIR=$RPM_BUILD_ROOT \
+       libdir=%{_libdir}
 
 install -D colamd.h $RPM_BUILD_ROOT%{_includedir}/colamd.h
 
This page took 0.086955 seconds and 4 git commands to generate.