summaryrefslogtreecommitdiff
path: root/audio/rtunes
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-12-29 19:54:02 +0000
committerjoerg <joerg@pkgsrc.org>2007-12-29 19:54:02 +0000
commitd893ce6ad4a92be7a3d95e03d6f9b614292eab7b (patch)
tree55166e30a11b1ed461e486698fa4f960954b73aa /audio/rtunes
parent8adb2ce47722de04c983f8584e723771ca04edad (diff)
downloadpkgsrc-d893ce6ad4a92be7a3d95e03d6f9b614292eab7b.tar.gz
Fix build on DragonFly. Always build with gmake as lex / yacc output gets
named incorrectly otherwise. Set WRKSRC correctly.
Diffstat (limited to 'audio/rtunes')
-rw-r--r--audio/rtunes/Makefile23
-rw-r--r--audio/rtunes/distinfo5
-rw-r--r--audio/rtunes/patches/patch-af8
-rw-r--r--audio/rtunes/patches/patch-ai21
4 files changed, 33 insertions, 24 deletions
diff --git a/audio/rtunes/Makefile b/audio/rtunes/Makefile
index 5c692e16c58..5fa266ad079 100644
--- a/audio/rtunes/Makefile
+++ b/audio/rtunes/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/11/23 00:18:41 bjs Exp $
+# $NetBSD: Makefile,v 1.2 2007/12/29 19:54:02 joerg Exp $
#
DISTNAME= rtunes-snap-20071122
@@ -6,40 +6,27 @@ CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_LOCAL}
EXTRACT_SUFX= .tar.bz2
-
MAINTAINER= bjs@NetBSD.org
HOMEPAGE= http://www.nazgul.ch/dev.html
COMMENT= Streams audio to an Apple AirPort Express device
PKG_DESTDIR_SUPPORT= user-destdir
+WRKSRC= ${WRKDIR}/rtunes
+
NO_CONFIGURE= yes
-USE_TOOLS+= yacc lex
+USE_TOOLS+= yacc lex gmake
+MAKE_FILE= GNUmakefile
.include "../../mk/bsd.prefs.mk"
-###
-### XXX this dual-makefile, non-libtoolized package really needs to be
-### reworked for proper multi-platform support, but I do not have
-### time as of now.
-###
-.if ${OPSYS} == "Linux"
-USE_TOOLS+= gmake
-MAKE_ENV+= MAKE=${GMAKE:Q}
-.else
-USE_BSD_MAKEFILE= yes
-MAKE_ENV+= MKPRIVATELIB=yes
-.endif
-
EGDIR= ${PREFIX}/share/examples/rtunes
CONF_FILES= ${EGDIR}/${RTUNES_CONF:T} \
${PKG_SYSCONFDIR}/${RTUNES_CONF:T}
RTUNES_CONF= ${WRKDIR}/rtunes.conf
-
INSTALLATION_DIRS_FROM_PLIST= yes
-
SUBST_CLASSES+= doc
SUBST_FILES.doc= librtunes/README
SUBST_STAGE.doc= post-extract
diff --git a/audio/rtunes/distinfo b/audio/rtunes/distinfo
index 13fa01075e8..e3fca51cc5c 100644
--- a/audio/rtunes/distinfo
+++ b/audio/rtunes/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/11/23 00:18:41 bjs Exp $
+$NetBSD: distinfo,v 1.2 2007/12/29 19:54:02 joerg Exp $
SHA1 (rtunes-snap-20071122.tar.bz2) = 8de9a4e7811785bf2fa05f1da85319942a38c000
RMD160 (rtunes-snap-20071122.tar.bz2) = 8442a8f90a1a94bdeb61fb8bf1d94bcd861169ab
@@ -8,6 +8,7 @@ SHA1 (patch-ab) = de448ef28337874aef3704f013b0c8e914f6cdb4
SHA1 (patch-ac) = 323085981da113f9cc118895af14a60b2ce6fba1
SHA1 (patch-ad) = 199a0844ce3e62f53e5f34df00af3eb26ab8cbb6
SHA1 (patch-ae) = 45afb27cd512e77aee74c4da1607f85fd5d15ee1
-SHA1 (patch-af) = 3a4b8e29943e29bf0b94028e3777b07e79a1b9b7
+SHA1 (patch-af) = d3cec3bcf6054eacb5567080ae9f7472926e5268
SHA1 (patch-ag) = e5fb147e809875404a1cd239751b7d8667e0b927
SHA1 (patch-ah) = 7c04858f66bce0e9def8689b4ecf0f1a5d2c3948
+SHA1 (patch-ai) = 6a770a3eed2874c6d7663dabbea4d779de1ad505
diff --git a/audio/rtunes/patches/patch-af b/audio/rtunes/patches/patch-af
index dac0aecf009..9bb800abe05 100644
--- a/audio/rtunes/patches/patch-af
+++ b/audio/rtunes/patches/patch-af
@@ -1,4 +1,4 @@
-$NetBSD: patch-af,v 1.1.1.1 2007/11/23 00:18:41 bjs Exp $
+$NetBSD: patch-af,v 1.2 2007/12/29 19:54:02 joerg Exp $
--- libbsd/GNUmakefile.orig 2006-05-06 10:15:59.000000000 -0400
+++ libbsd/GNUmakefile
@@ -7,12 +7,12 @@ $NetBSD: patch-af,v 1.1.1.1 2007/11/23 00:18:41 bjs Exp $
strlcpy.o: strlcpy.c
- cc ${CCFLAGS} strlcpy.c
-+ %{CC} ${CCFLAGS} strlcpy.c
++ ${CC} ${CCFLAGS} strlcpy.c
strlcat.o: strlcat.c
- cc ${CCFLAGS} strlcat.c
-+ %{CC} ${CCFLAGS} strlcat.c
++ ${CC} ${CCFLAGS} strlcat.c
arc4random.o: arc4random.c
- cc ${CCFLAGS} arc4random.c
-+ %{CC} ${CCFLAGS} arc4random.c
++ ${CC} ${CCFLAGS} arc4random.c
clean:
rm -f libbsd.a *.o
diff --git a/audio/rtunes/patches/patch-ai b/audio/rtunes/patches/patch-ai
new file mode 100644
index 00000000000..5452e1ea5e0
--- /dev/null
+++ b/audio/rtunes/patches/patch-ai
@@ -0,0 +1,21 @@
+$NetBSD: patch-ai,v 1.1 2007/12/29 19:54:02 joerg Exp $
+
+Conflicts with system function (size_t datlen) on DragonFly.
+
+--- libbsd/arc4random.c.orig 2007-12-29 17:37:54.000000000 +0000
++++ libbsd/arc4random.c
+@@ -150,14 +150,6 @@ arc4random_stir(void)
+ arc4_stir(&rs);
+ }
+
+-void
+-arc4random_addrandom(u_char *dat, int datlen)
+-{
+- if (!rs_initialized)
+- arc4random_stir();
+- arc4_addrandom(&rs, dat, datlen);
+-}
+-
+ u_int32_t
+ arc4random(void)
+ {