Commit b7ab24e8 authored by Sam Hocevar's avatar Sam Hocevar

* vlc.ebuild:

    + Apply the same changes to configure as to configure.ac.
    + Fix autotools timestamps so that the build does not trigger useless
      autoconf and automake runs. Our snapshots are correctly bootstrapped
      and do not need extra fiddling.
parent 1f4f2234
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# vlc.ebuild: A Gentoo ebuild for vlc # vlc.ebuild: A Gentoo ebuild for vlc
############################################################################### ###############################################################################
# Copyright (C) 2003 VideoLAN # Copyright (C) 2003 VideoLAN
# $Id: vlc.ebuild,v 1.9 2003/06/23 00:18:50 hartman Exp $ # $Id: vlc.ebuild,v 1.10 2003/06/28 00:29:13 sam Exp $
# #
# Authors: Derk-Jan Hartman <thedj at users.sf.net> # Authors: Derk-Jan Hartman <thedj at users.sf.net>
# #
...@@ -101,6 +101,10 @@ src_unpack() { ...@@ -101,6 +101,10 @@ src_unpack() {
sed "s:-lkfile::" \ sed "s:-lkfile::" \
configure.ac.orig > configure.ac configure.ac.orig > configure.ac
cp configure configure.orig
sed "s:-lkfile::" \
configure.orig > configure
cd ${S}/modules/gui/kde cd ${S}/modules/gui/kde
cp interface.h interface.h.orig cp interface.h interface.h.orig
sed "s:\(#include <kmainwindow.h>\):\1\n#include <kstatusbar.h>:" \ sed "s:\(#include <kmainwindow.h>\):\1\n#include <kstatusbar.h>:" \
...@@ -218,6 +222,13 @@ src_compile(){ ...@@ -218,6 +222,13 @@ src_compile(){
export WANT_AUTOCONF_2_5=1 export WANT_AUTOCONF_2_5=1
export WANT_AUTOMAKE_1_6=1 export WANT_AUTOMAKE_1_6=1
# Avoid timestamp skews with autotools
touch configure.ac
touch aclocal.m4
touch configure
touch config.h.in
touch `find . -name Makefile.in`
myconf="${myconf} --enable-ffmpeg --with-ffmpeg-tree=${SFFMPEG} \ myconf="${myconf} --enable-ffmpeg --with-ffmpeg-tree=${SFFMPEG} \
--enable-libmpeg2 --with-libmpeg2-tree=${SLIBMPEG2} \ --enable-libmpeg2 --with-libmpeg2-tree=${SLIBMPEG2} \
--enable-dvbpsi \ --enable-dvbpsi \
......
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