Remove ossaudio dependency.

OK jasper@, sthen@
This commit is contained in:
dcoppa 2010-04-29 08:27:19 +00:00
parent 102108f671
commit d58abcb8e8
2 changed files with 16 additions and 2 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.3 2010/04/29 07:59:43 jasper Exp $
# $OpenBSD: Makefile,v 1.4 2010/04/29 08:27:19 dcoppa Exp $
COMMENT= console based player for last.fm radio streams
DISTNAME= shell-fm-0.7
PKGNAME= ${DISTNAME}p0
CATEGORIES= audio
HOMEPAGE= http://nex.scrapping.cc/code/shell-fm/
@ -18,7 +19,7 @@ MASTER_SITES= http://www.phil.uu.nl/~lievisse/distfiles/
LIB_DEPENDS= ao::audio/libao \
mad::audio/libmad \
tag,tag_c::audio/taglib
WANTLIB= c m ossaudio
WANTLIB= c m
USE_GMAKE= yes
FAKE_FLAGS= DESTDIR="${WRKINST}${PREFIX}"

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-source_Makefile,v 1.3 2010/04/29 08:27:20 dcoppa Exp $
--- source/Makefile.orig Thu Apr 29 10:03:38 2010
+++ source/Makefile Thu Apr 29 10:03:48 2010
@@ -5,9 +5,6 @@ BINARY := shell-fm
LIB := libshellfm.so
STATIC := libshellfm.a
-ifeq ($(shell uname -s), OpenBSD)
- LDFLAGS += -lossaudio
-endif
ifeq ($(shell uname -s), NetBSD)
LDFLAGS += -lossaudio
endif