- use avahi instead of howl for zeroconf support
This commit is contained in:
parent
9db79bda28
commit
3be437b5d1
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.10 2008/10/02 20:44:25 kili Exp $
|
||||
# $OpenBSD: Makefile,v 1.11 2009/06/03 16:37:31 ajacoutot Exp $
|
||||
|
||||
COMMENT= multi-threaded DAAP server
|
||||
|
||||
DISTNAME= mt-daapd-0.2.4.2
|
||||
PKGNAME= ${DISTNAME}p1
|
||||
PKGNAME= ${DISTNAME}p2
|
||||
CATEGORIES= audio net
|
||||
|
||||
HOMEPAGE= http://www.mt-daapd.org/
|
||||
@ -16,22 +16,15 @@ PERMIT_PACKAGE_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mt-daapd/}
|
||||
|
||||
LIB_DEPENDS= gdbm.>=3::databases/gdbm \
|
||||
LIB_DEPENDS= avahi-client,avahi-common::net/avahi \
|
||||
id3tag.>=3::audio/libid3tag
|
||||
|
||||
WANTLIB= c pthread z
|
||||
|
||||
FLAVORS= howl
|
||||
FLAVOR?=
|
||||
WANTLIB += c gdbm pthread z
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ARGS= --with-gdbm-includes=${LOCALBASE}/include \
|
||||
--with-gdbm-libs=${LOCALBASE}/lib
|
||||
|
||||
.if ${FLAVOR:L:Mhowl}
|
||||
LIB_DEPENDS+= howl::net/howl
|
||||
CONFIGURE_ARGS+=--enable-howl --with-howl-includes=${LOCALBASE}/include/howl
|
||||
.endif
|
||||
--with-gdbm-libs=${LOCALBASE}/lib \
|
||||
--enable-avahi
|
||||
|
||||
pre-configure:
|
||||
${SUBST_CMD} ${WRKSRC}/contrib/mt-daapd.conf
|
||||
|
11
audio/mt-daapd/patches/patch-src_rend-avahi_c
Normal file
11
audio/mt-daapd/patches/patch-src_rend-avahi_c
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-src_rend-avahi_c,v 1.1 2009/06/03 16:37:31 ajacoutot Exp $
|
||||
--- src/rend-avahi.c.orig Sat Apr 19 21:17:23 2008
|
||||
+++ src/rend-avahi.c Tue Jun 2 18:48:06 2009
|
||||
@@ -28,6 +28,7 @@
|
||||
#include <errno.h>
|
||||
#include <assert.h>
|
||||
#include <pthread.h>
|
||||
+#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
@comment $OpenBSD: PLIST,v 1.3 2008/06/09 23:46:20 okan Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.4 2009/06/03 16:37:31 ajacoutot Exp $
|
||||
@pkgpath audio/mt-daapd,howl
|
||||
@bin sbin/mt-daapd
|
||||
share/examples/mt-daapd/
|
||||
share/examples/mt-daapd/mt-daapd.conf
|
||||
|
Loading…
x
Reference in New Issue
Block a user