From 44997c99d12bdaf824824bc9764f690cbb65c3ac Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 18 Dec 2003 19:16:22 +0000 Subject: Fix MP3 detection. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1496 df743ca5-7f9a-e211-a948-0013205c9059 --- audio/rhythmbox-devel/Makefile | 4 +++- audio/rhythmbox-devel/files/patch-configure | 35 +++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 audio/rhythmbox-devel/files/patch-configure (limited to 'audio/rhythmbox-devel') diff --git a/audio/rhythmbox-devel/Makefile b/audio/rhythmbox-devel/Makefile index 82e1d5b03..424987c60 100644 --- a/audio/rhythmbox-devel/Makefile +++ b/audio/rhythmbox-devel/Makefile @@ -7,6 +7,7 @@ PORTNAME= rhythmbox PORTVERSION= 0.6.2 +PORTREVISION= 1 CATEGORIES= audio gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.6 @@ -26,7 +27,8 @@ USE_GMAKE= yes USE_GNOME= gnomehack gnomeprefix lthack libgnomeui USE_LIBTOOL= yes CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib -lm" \ - CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" + CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ + LOCALBASE="${LOCALBASE}" .ifdef (WITH_XINE) LIB_DEPENDS+= xine.7:${PORTSDIR}/multimedia/libxine diff --git a/audio/rhythmbox-devel/files/patch-configure b/audio/rhythmbox-devel/files/patch-configure new file mode 100644 index 000000000..132167786 --- /dev/null +++ b/audio/rhythmbox-devel/files/patch-configure @@ -0,0 +1,35 @@ +--- configure.orig Wed Dec 17 23:50:24 2003 ++++ configure Thu Dec 18 13:02:58 2003 +@@ -21080,20 +21081,20 @@ + echo "$as_me:$LINENO: checking for id3tag >= 0.15.0b" >&5 + echo $ECHO_N "checking for id3tag >= 0.15.0b... $ECHO_C" >&6 + +- if $PKG_CONFIG --exists "id3tag >= 0.15.0b" ; then ++ if true ; then + echo "$as_me:$LINENO: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + succeeded=yes + + echo "$as_me:$LINENO: checking ID3TAG_CFLAGS" >&5 + echo $ECHO_N "checking ID3TAG_CFLAGS... $ECHO_C" >&6 +- ID3TAG_CFLAGS=`$PKG_CONFIG --cflags "id3tag >= 0.15.0b"` ++ ID3TAG_CFLAGS="" + echo "$as_me:$LINENO: result: $ID3TAG_CFLAGS" >&5 + echo "${ECHO_T}$ID3TAG_CFLAGS" >&6 + + echo "$as_me:$LINENO: checking ID3TAG_LIBS" >&5 + echo $ECHO_N "checking ID3TAG_LIBS... $ECHO_C" >&6 +- ID3TAG_LIBS=`$PKG_CONFIG --libs "id3tag >= 0.15.0b"` ++ ID3TAG_LIBS="-L$LOCALBASE/lib -lid3tag -lz" + echo "$as_me:$LINENO: result: $ID3TAG_LIBS" >&5 + echo "${ECHO_T}$ID3TAG_LIBS" >&6 + else +@@ -21101,7 +21102,7 @@ + ID3TAG_LIBS="" + ## If we have a custom action on failure, don't print errors, but + ## do set a variable so people can do so. +- ID3TAG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "id3tag >= 0.15.0b"` ++ ID3TAG_PKG_ERRORS= + + fi + -- cgit v1.2.3