Thu Nov 8 11:52:20 2012 UTC ()
USE_TOOLS+= msgfmt, fixes Solaris build.


(jperkin)
diff -r1.66 -r1.67 pkgsrc/audio/pulseaudio/Makefile

cvs diff -r1.66 -r1.67 pkgsrc/audio/pulseaudio/Makefile (expand / switch to unified diff)

--- pkgsrc/audio/pulseaudio/Makefile 2012/11/06 12:04:34 1.66
+++ pkgsrc/audio/pulseaudio/Makefile 2012/11/08 11:52:20 1.67
@@ -1,43 +1,42 @@ @@ -1,43 +1,42 @@
1# $NetBSD: Makefile,v 1.66 2012/11/06 12:04:34 ryoon Exp $ 1# $NetBSD: Makefile,v 1.67 2012/11/08 11:52:20 jperkin Exp $
2# 2#
3 3
4DISTNAME= pulseaudio-2.1 4DISTNAME= pulseaudio-2.1
5PKGREVISION= 1 5PKGREVISION= 1
6CATEGORIES= audio 6CATEGORIES= audio
7MASTER_SITES= http://freedesktop.org/software/pulseaudio/releases/ 7MASTER_SITES= http://freedesktop.org/software/pulseaudio/releases/
8EXTRACT_SUFX= .tar.xz 8EXTRACT_SUFX= .tar.xz
9 9
10MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= http://www.freedesktop.org/wiki/Software/PulseAudio 11HOMEPAGE= http://www.freedesktop.org/wiki/Software/PulseAudio
12COMMENT= Sound server for POSIX and Win32 systems 12COMMENT= Sound server for POSIX and Win32 systems
13LICENSE= gnu-lgpl-v2.1 AND gnu-gpl-v2 13LICENSE= gnu-lgpl-v2.1 AND gnu-gpl-v2
14 14
15GNU_CONFIGURE= yes 15GNU_CONFIGURE= yes
16USE_LIBTOOL= yes 16USE_LIBTOOL= yes
17USE_TOOLS+= gmake gm4 intltool pkg-config 17USE_TOOLS+= gmake gm4 intltool msgfmt pkg-config
18USE_LANGUAGES= c c++ 18USE_LANGUAGES= c c++
19 19
20.include "../../mk/bsd.prefs.mk" 20.include "../../mk/bsd.prefs.mk"
21# Some tests are incompatible for NetBSD at least 21# Some tests are incompatible for NetBSD at least
22.if ${OPSYS} == "NetBSD" 22.if ${OPSYS} == "NetBSD"
23CONFIGURE_ARGS+= --disable-default-build-tests 23CONFIGURE_ARGS+= --disable-default-build-tests
24.endif 24.endif
25.if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[45].*) 25.if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[45].*)
26# broken test for TLS 26# broken test for TLS
27CONFIGURE_ENV+= ac_cv_tls=none 27CONFIGURE_ENV+= ac_cv_tls=none
28.endif 28.endif
29 29
30 
31CONFIGURE_ENV+= EGDIR=${EGDIR} 30CONFIGURE_ENV+= EGDIR=${EGDIR}
32MAKE_ENV+= EGDIR=${EGDIR} 31MAKE_ENV+= EGDIR=${EGDIR}
33 32
34CONFIGURE_ARGS+= --enable-samplerate 33CONFIGURE_ARGS+= --enable-samplerate
35CONFIGURE_ARGS+= --disable-tcpwrap 34CONFIGURE_ARGS+= --disable-tcpwrap
36 35
37# Use native atomic ops on NetBSD >= 5.0, otherwise 36# Use native atomic ops on NetBSD >= 5.0, otherwise
38# fallback to libatomic_ops 37# fallback to libatomic_ops
39.if !(${OPSYS} == "NetBSD" && exists(/usr/include/sys/atomic.h)) 38.if !(${OPSYS} == "NetBSD" && exists(/usr/include/sys/atomic.h))
40.include "../../devel/libatomic_ops/buildlink3.mk" 39.include "../../devel/libatomic_ops/buildlink3.mk"
41.endif 40.endif
42 41
43# Build module-mmkbd-evdev.so under Linux 42# Build module-mmkbd-evdev.so under Linux