summaryrefslogtreecommitdiff
path: root/editors/xemacs
diff options
context:
space:
mode:
authorjmc <jmc>2003-04-10 18:18:51 +0000
committerjmc <jmc>2003-04-10 18:18:51 +0000
commit9ea248a3aadbf5b8728362ea4b15a8601ac6e2a8 (patch)
tree7c307fcce1752fa175d4cbb23bd34466cf298c85 /editors/xemacs
parentb03a23978008e2d56e8233b197ba2a6559d42a78 (diff)
downloadpkgsrc-9ea248a3aadbf5b8728362ea4b15a8601ac6e2a8.tar.gz
Disable sound on solaris if /usr/demo/SOUND libs aren't available
Diffstat (limited to 'editors/xemacs')
-rw-r--r--editors/xemacs/Makefile8
1 files changed, 7 insertions, 1 deletions
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"