diff --git a/audio/shell-fm/Makefile b/audio/shell-fm/Makefile index cad5d355ec4..b9640b4ca6f 100644 --- a/audio/shell-fm/Makefile +++ b/audio/shell-fm/Makefile @@ -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}" diff --git a/audio/shell-fm/patches/patch-source_Makefile b/audio/shell-fm/patches/patch-source_Makefile new file mode 100644 index 00000000000..71d0fca8445 --- /dev/null +++ b/audio/shell-fm/patches/patch-source_Makefile @@ -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