ports/opt (2.4): mplayer: Utilise user CFLAGS, but keep in line with mplayer optimisation choices.
commit f4a76233cb4eb453a3682c2c245b378fb6c0b318 Author: Brett Goulder <predatorfreak@dcaf-security.org> Date: Sat Mar 22 21:01:12 2008 -0400 mplayer: Utilise user CFLAGS, but keep in line with mplayer optimisation choices. diff --git a/mplayer/Pkgfile b/mplayer/Pkgfile index 159fd3f..937d1e1 100644 --- a/mplayer/Pkgfile +++ b/mplayer/Pkgfile @@ -12,7 +12,7 @@ name=mplayer version=1.0rc2-r26172 -release=1 +release=2 source=(http://crux.nu/files/distfiles/$name-r26172.tar.bz2 http://www1.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-1.tar.bz... \ mplayer.conf) @@ -20,8 +20,8 @@ source=(http://crux.nu/files/distfiles/$name-r26172.tar.bz2 build() { cd $name - # mplayer decides optimizations at configure time, don't use CRUX's - unset CFLAGS + # Keep in line with mplayer CFLAGS, but allow people to set their own march/mtune values. + export CFLAGS="$(echo $CFLAGS | sed -e 's/-O[s0-3]/-O3/') -ffast-math -fomit-frame-pointer" ./configure --prefix=/usr \ --mandir=/usr/man \ --win32codecsdir=/usr/lib/win32 \
participants (1)
-
crux@crux.nu