diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-12-19 03:16:22 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-12-19 03:16:22 +0800 |
commit | 44997c99d12bdaf824824bc9764f690cbb65c3ac (patch) | |
tree | fcb8a5b0a9918ea262b964459ef73237b4538cfe /audio/rhythmbox | |
parent | cba5fda17bf7f7bca9a39d5aed835cac0687c890 (diff) | |
download | marcuscom-ports-44997c99d12bdaf824824bc9764f690cbb65c3ac.tar marcuscom-ports-44997c99d12bdaf824824bc9764f690cbb65c3ac.tar.gz marcuscom-ports-44997c99d12bdaf824824bc9764f690cbb65c3ac.tar.bz2 marcuscom-ports-44997c99d12bdaf824824bc9764f690cbb65c3ac.tar.lz marcuscom-ports-44997c99d12bdaf824824bc9764f690cbb65c3ac.tar.xz marcuscom-ports-44997c99d12bdaf824824bc9764f690cbb65c3ac.tar.zst marcuscom-ports-44997c99d12bdaf824824bc9764f690cbb65c3ac.zip |
Fix MP3 detection.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1496 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'audio/rhythmbox')
-rw-r--r-- | audio/rhythmbox/Makefile | 4 | ||||
-rw-r--r-- | audio/rhythmbox/files/patch-configure | 35 |
2 files changed, 38 insertions, 1 deletions
diff --git a/audio/rhythmbox/Makefile b/audio/rhythmbox/Makefile index 82e1d5b03..424987c60 100644 --- a/audio/rhythmbox/Makefile +++ b/audio/rhythmbox/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/files/patch-configure b/audio/rhythmbox/files/patch-configure new file mode 100644 index 000000000..132167786 --- /dev/null +++ b/audio/rhythmbox/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 + |