diff options
author | wiz <wiz> | 2005-07-21 14:24:48 +0000 |
---|---|---|
committer | wiz <wiz> | 2005-07-21 14:24:48 +0000 |
commit | 05cc6ffe3d4c8263a74864ac462e1bb98d5356c1 (patch) | |
tree | 47da23a730940ca9c60cf87113a9a123b5ba8b41 /multimedia/mplayer-share | |
parent | fbc0a9992795df228c0f7b06c1b8ab5ecb2179e9 (diff) | |
download | pkgsrc-05cc6ffe3d4c8263a74864ac462e1bb98d5356c1.tar.gz |
Fix compilation with aalib option.
Diffstat (limited to 'multimedia/mplayer-share')
-rw-r--r-- | multimedia/mplayer-share/distinfo | 4 | ||||
-rw-r--r-- | multimedia/mplayer-share/options.mk | 5 | ||||
-rw-r--r-- | multimedia/mplayer-share/patches/patch-aa | 13 |
3 files changed, 14 insertions, 8 deletions
diff --git a/multimedia/mplayer-share/distinfo b/multimedia/mplayer-share/distinfo index 6dc6c07d2d3..771265e5fda 100644 --- a/multimedia/mplayer-share/distinfo +++ b/multimedia/mplayer-share/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.21 2005/05/31 19:15:11 jmmv Exp $ +$NetBSD: distinfo,v 1.22 2005/07/21 14:24:48 wiz Exp $ SHA1 (mplayer-1.0rc7/MPlayer-1.0pre7.tar.bz2) = df1e8d4f2f44d72c6f7989932f3b272e815ecb80 RMD160 (mplayer-1.0rc7/MPlayer-1.0pre7.tar.bz2) = a4bac10df287c4b134ea49b3bc9bf7fb0126cae6 @@ -12,7 +12,7 @@ Size (mplayer-1.0rc7/font-arial-iso-8859-2.tar.bz2) = 222208 bytes SHA1 (mplayer-1.0rc7/font-arial-cp1250.tar.bz2) = ccf11dce5d0fb72fd3af97f788b7471cd0cd0b68 RMD160 (mplayer-1.0rc7/font-arial-cp1250.tar.bz2) = a2fc7ae07b0d80936ea58e168e1047efccb9eb91 Size (mplayer-1.0rc7/font-arial-cp1250.tar.bz2) = 249705 bytes -SHA1 (patch-aa) = 7e4eaab0042979c44271c361d00e1c05a04c93bc +SHA1 (patch-aa) = d77cd903d735d7a88336e0aff309f8508cafed94 SHA1 (patch-ab) = 1a08f717e326d83b355eee26e1be9c0636b735c5 SHA1 (patch-ac) = 3b9ae32e6e656ec4b58b7e51a1c2eaa280384f3e SHA1 (patch-ad) = d705dd315e913593223b83e533c60a9620d34cc8 diff --git a/multimedia/mplayer-share/options.mk b/multimedia/mplayer-share/options.mk index e0390b334fe..5c918431487 100644 --- a/multimedia/mplayer-share/options.mk +++ b/multimedia/mplayer-share/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.5 2005/07/18 12:07:33 wiz Exp $ +# $NetBSD: options.mk,v 1.6 2005/07/21 14:24:48 wiz Exp $ .if defined(PKGNAME) && empty(PKGNAME:Mmplayer-share*) @@ -79,10 +79,7 @@ PKG_OPTIONS_LEGACY_VARS+= MPLAYER_USE_MEDIALIB:mlib .include "../../mk/bsd.options.mk" .if !empty(PKG_OPTIONS:Maalib) -CONFIGURE_ARGS+= --enable-aa . include "../../graphics/aalib-x11/buildlink3.mk" -.else -CONFIGURE_ARGS+= --disable-aa .endif .if !empty(PKG_OPTIONS:Marts) diff --git a/multimedia/mplayer-share/patches/patch-aa b/multimedia/mplayer-share/patches/patch-aa index 75f0629cefc..12a92b614d0 100644 --- a/multimedia/mplayer-share/patches/patch-aa +++ b/multimedia/mplayer-share/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.11 2005/05/31 19:15:11 jmmv Exp $ +$NetBSD: patch-aa,v 1.12 2005/07/21 14:24:48 wiz Exp $ --- configure.orig 2005-04-13 13:46:35.000000000 +0200 +++ configure @@ -39,7 +39,7 @@ $NetBSD: patch-aa,v 1.11 2005/05/31 19:15:11 jmmv Exp $ ;; --with-dxr2incdir=*) _inc_dxr2=-I`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -I,g'` -@@ -2382,7 +2383,7 @@ +@@ -2382,7 +2383,7 @@ echores "$_posix4" echocheck "lrintf" cat > $TMPC << EOF #include <math.h> @@ -48,3 +48,12 @@ $NetBSD: patch-aa,v 1.11 2005/05/31 19:15:11 jmmv Exp $ EOF _lrintf=no cc_check $_ld_lm && _lrintf=yes +@@ -3788,7 +3789,7 @@ fi + if test "$_aa" = yes ; then + _def_aa='#define HAVE_AA 1' + if cygwin ; then +- _ld_aa=`aalib-config --libs | cut -d " " -f 2,5,6` ++ _ld_aa=`${AALIB_CONFIG} --libs | cut -d " " -f 2,5,6` + fi + _vosrc="$_vosrc vo_aa.c" + _vomodules="aa $_vomodules" |