From 08801f2a5db224ffe43ed9d57e5e9e7a2a95e4aa Mon Sep 17 00:00:00 2001 From: jmc Date: Thu, 10 Apr 2003 18:18:51 +0000 Subject: Disable sound on solaris if /usr/demo/SOUND libs aren't available --- editors/xemacs/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'editors') diff --git a/editors/xemacs/Makefile b/editors/xemacs/Makefile index 8871b3fd816..9ce2c2036fb 100644 --- a/editors/xemacs/Makefile +++ b/editors/xemacs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.60 2003/03/12 10:57:07 uebayasi Exp $ +# $NetBSD: Makefile,v 1.61 2003/04/10 18:18:51 jmc Exp $ DISTNAME= xemacs-21.4.12 PKGREVISION= 2 @@ -66,6 +66,12 @@ WITH_DIALOGS= \ .include "../../mk/xaw.buildlink2.mk" #.endif +.if ${OPSYS} == "SunOS" +. if !exists(/usr/demo/SOUND/libaudio.a) && !exists(/usr/demo/SOUND/lib/libaudio.a) +CONFIGURE_ARGS+= --with_sound=none +. endif +.endif + .if defined(USE_LDAP) && (${USE_LDAP} == "YES") WITH_LDAP= --with-ldap . include "../../databases/openldap/buildlink2.mk" -- cgit v1.2.3