Do not depend on libvorbis/libogg interlibrary dependency.

From: Robbert Haarman <inglorion@inglorion.net>
This commit is contained in:
naddy 2005-01-24 17:51:36 +00:00
parent b3fd840ef8
commit 1fcf57ac59
2 changed files with 25 additions and 2 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.6 2004/11/21 17:51:45 espie Exp $
# $OpenBSD: Makefile,v 1.7 2005/01/24 17:51:36 naddy Exp $
COMMENT= "text console audio player with an interactive interface"
DISTNAME= mp3blaster-3.2.0
PKGNAME= ${DISTNAME}p0
CATEGORIES= audio
HOMEPAGE= http://www.stack.nl/~brama/mp3blaster/
@ -13,7 +14,8 @@ PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m ncurses ossaudio pthread stdc++
WANTLIB= c m ncurses ogg ossaudio pthread stdc++
MASTER_SITES= ${HOMEPAGE}src/

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-configure,v 1.1 2005/01/24 17:51:37 naddy Exp $
--- configure.orig Mon Jan 24 18:37:20 2005
+++ configure Mon Jan 24 18:37:54 2005
@@ -2104,7 +2104,7 @@ if eval "test \"`echo '$''{'ac_cv_lib_$a
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-lvorbisfile -lvorbis $LIBS"
+LIBS="-lvorbisfile -lvorbis -logg $LIBS"
cat > conftest.$ac_ext <<EOF
#line 2110 "configure"
#include "confdefs.h"
@@ -2135,7 +2135,7 @@ HAVE_OGG="no"
fi
if test "$HAVE_OGG" = "yes" ; then
- OGG_LIBS="-lvorbisfile -lvorbis"
+ OGG_LIBS="-lvorbisfile -lvorbis -logg"
cat >> confdefs.h <<\EOF
#define INCLUDE_OGG 1