]> git.pld-linux.org Git - packages/crossdjgpp-gcc.git/commitdiff
- use proper libdir
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 20 Jun 2004 13:19:23 +0000 (13:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    crossdjgpp-gcc.spec -> 1.20

crossdjgpp-gcc.spec

index 0e75fa93beee7bcfc6e526a48df397d5cc6970f7..a8255e15e12e69713cce153d7c9a885ed495b569 100644 (file)
@@ -24,13 +24,11 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                cxx             0
 %define                target          i386-pc-msdosdjgpp
-%define                _prefix         /usr
 %define                arch            %{_prefix}/%{target}
-%define                gccarch         %{_prefix}/lib/gcc-lib/%{target}
-%define                gcclib          %{_prefix}/lib/gcc-lib/%{target}/%{version}
+%define                gccarch         %{_libdir}/gcc-lib/%{target}
+%define                gcclib          %{_libdir}/gcc-lib/%{target}/%{version}
 %define                no_install_post_strip   1
 
-
 %description
 DJGPP is a port of GNU GCC to the DOS environment. (It stands for DJ's
 Gnu Programming Platform, if it has to stand for something, but it's
@@ -52,7 +50,7 @@ Ten pakiet zawiera gcc generuj
 Summary:       DJGPP GNU Binary Utility Development Utilities - g++
 Summary(pl):   Narzêdzia programistyczne GNU DJGPP - g++
 Group:         Development/Languages
-Requires:      %{name} = %{epoch}:%{version}
+Requires:      %{name} = %{epoch}:%{version}-%{release}
 
 %description c++
 DJGPP is a port of GNU GCC to the DOS environment. (It stands for DJ's
@@ -73,7 +71,7 @@ Ten pakiet zawiera g++ skompilowane jako kompilator skro
 Summary:       DJGPP GNU Binary Utility Development Utilities - g77
 Summary(pl):   Narzêdzia programistyczne GNU DJGPP - g77
 Group:         Development/Languages
-Requires:      %{name} = %{epoch}:%{version}
+Requires:      %{name} = %{epoch}:%{version}-%{release}
 
 %description g77
 DJGPP is a port of GNU GCC to the DOS environment. (It stands for DJ's
@@ -102,6 +100,9 @@ TEXCONFIG=false ../configure \
        --prefix=%{_prefix} \
        --infodir=%{_infodir} \
        --mandir=%{_mandir} \
+       --bindir=%{_bindir} \
+       --libdir=%{_libdir} \
+       --libexecdir=%{_libdir} \
        --disable-shared \
        --enable-haifa \
         --enable-languages="c,f77" \
@@ -140,7 +141,7 @@ cd ..
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{/lib,%{_datadir},%{_bindir}}
+install -d $RPM_BUILD_ROOT{%{_datadir},%{_bindir}}
 
 cd obj-%{target}
 PATH=$PATH:/sbin:%{_sbindir}
This page took 0.067556 seconds and 4 git commands to generate.