pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/esound Allow this to build on Interix in client-...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e29767654907
branches: trunk
changeset: 481744:e29767654907
user: tv <tv%pkgsrc.org@localhost>
date: Mon Oct 11 18:02:59 2004 +0000
description:
Allow this to build on Interix in client-only mode.
diffstat:
audio/esound/Makefile | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diffs (43 lines):
diff -r e39094a1cb13 -r e29767654907 audio/esound/Makefile
--- a/audio/esound/Makefile Mon Oct 11 17:49:21 2004 +0000
+++ b/audio/esound/Makefile Mon Oct 11 18:02:59 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.53 2004/10/03 00:13:05 tv Exp $
+# $NetBSD: Makefile,v 1.54 2004/10/11 18:02:59 tv Exp $
DISTNAME= esound-0.2.35
PKGREVISION= 1
@@ -19,7 +19,6 @@
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
-MAKE_ENV+= AM_CPPFLAGS='-DDEV_DSP=\"${DEVOSSAUDIO}\"'
BUILD_DEFS+= USE_INET6
@@ -34,11 +33,18 @@
CONFIGURE_ARGS+= --disable-ipv6
.endif
+.if ${OPSYS} == "Interix"
+# no sound output device, but can support a remote esound server
+CONFIGURE_ARGS+= --disable-local-sound
+.else
+.include "../../mk/ossaudio.buildlink3.mk"
+MAKE_ENV+= AM_CPPFLAGS='-DDEV_DSP=\"${DEVOSSAUDIO}\"'
SUBST_CLASSES= oss
SUBST_STAGE.oss= post-patch
SUBST_FILES.oss= configure
SUBST_SED.oss= -e 's,-lossaudio,${LIBOSSAUDIO},g'
SUBST_MESSAGE.oss= "Fixing oss."
+.endif
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/esound
@@ -46,6 +52,4 @@
${PAX} -rw -pp -pm . ${PREFIX}/share/doc/html/esound
.include "../../audio/libaudiofile/buildlink3.mk"
-.include "../../mk/ossaudio.buildlink3.mk"
-
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index