Commit bfd9535d authored by Christophe Massiot's avatar Christophe Massiot

* Fixed bugs in RPM spec files ;

* Fixed a bug in configure where ix86 machines were improperly detected.
parent a321dc6b
This diff is collapsed.
......@@ -491,7 +491,7 @@ AC_ARG_WITH(tuning,
if test "x$withval" != "x"; then
TUNING=$withval
else
if test x${target_cpu} = xi686; then TUNING="pentiumpro"
if test x${target_cpu} = xi686 -o x${target_cpu} = xi586 -o x${target_cpu} = xi486 -o x${target_cpu} = xi386; then TUNING="pentiumpro"
else
if test x${target_cpu} = xpowerpc; then TUNING="750"; fi
fi
......
......@@ -66,7 +66,7 @@ the %{name} library.
%build
%configure
%make
make libdvdcss
%install
%makeinstall
......
......@@ -40,9 +40,10 @@ BuildRoot: %_tmppath/%name-%version-%release-root
#Buildrequires: db1-devel
#This is for RedHat :
Buildrequires: ncurses-devel
Buildrequires: qt2-devel
Buildrequires: qt-devel
Buildrequires: gtk+-devel
Buildrequires: gnome-libs-devel
Buildrequires: gnome-libs-devel
Buildrequires: SDL-devel
Buildrequires: db1
%description
......@@ -109,8 +110,8 @@ install vlc-ncurses
--enable-fb \
--enable-xvideo \
--enable-sdl
export QTDIR=%{_libdir}/qt2
%make
export QTDIR=%{_libdir}/qt-2.3.0/
make
%install
%makeinstall
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment