summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-07-03 15:43:32 +0000
committertron <tron@pkgsrc.org>1999-07-03 15:43:32 +0000
commit011a3a40510e0ee6a77519f97a7d7216f94f5b84 (patch)
tree7b894f42af04a878107aad1444f4c0797896225e /editors
parent44424e2e786d24a6ee3bee3d9a98ecea5c382a10 (diff)
downloadpkgsrc-011a3a40510e0ee6a77519f97a7d7216f94f5b84.tar.gz
Enable sound support.
Diffstat (limited to 'editors')
-rw-r--r--editors/xemacs/Makefile6
-rw-r--r--editors/xemacs/patches/patch-ak10
2 files changed, 10 insertions, 6 deletions
diff --git a/editors/xemacs/Makefile b/editors/xemacs/Makefile
index ecb40677002..59b86e228bf 100644
--- a/editors/xemacs/Makefile
+++ b/editors/xemacs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 1999/06/30 00:11:28 tron Exp $
+# $NetBSD: Makefile,v 1.6 1999/07/03 15:43:32 tron Exp $
# FreeBSD Id: Makefile,v 1.1.1.1 1997/09/03 19:27:57 gj Exp
DISTNAME= xemacs-21.1.3
@@ -41,7 +41,7 @@ CONFIGURE_ARGS+= ${MACHINE_GNU_ARCH}--netbsd --prefix=${PREFIX} \
${WITH_DIALOGS} ${WITH_XFACE} \
--infopath="${PREFIX}/info:${X11BASE}/info:/usr/local/info" \
--lockdir=/var/tmp/xemacs.lock \
- --site-includes=${PREFIX}/include \
+ --site-includes=${PREFIX}/include:${WRKDIR} \
--site-libraries=${PREFIX}/lib
CFLAGS+= -Dunix
@@ -54,6 +54,8 @@ post-patch:
pre-configure:
@${ECHO} "To compile in the support for xface, set the environment variable USE_XFACE."
+ @${MKDIR} ${WRKDIR}/sys
+ @${LN} -s /usr/include/soundcard.h ${WRKDIR}/sys
post-install:
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/xemacs-21.1-p3
diff --git a/editors/xemacs/patches/patch-ak b/editors/xemacs/patches/patch-ak
index 1cd83100a40..b2c950808c1 100644
--- a/editors/xemacs/patches/patch-ak
+++ b/editors/xemacs/patches/patch-ak
@@ -1,13 +1,15 @@
-$NetBSD: patch-ak,v 1.1 1999/06/29 23:13:42 tron Exp $
+$NetBSD: patch-ak,v 1.2 1999/07/03 15:43:33 tron Exp $
--- src/Makefile.in.in.orig Sat Jun 20 02:58:42 1998
-+++ src/Makefile.in.in Tue Jun 29 21:53:08 1999
-@@ -52,7 +52,7 @@
++++ src/Makefile.in.in Sat Jul 3 17:30:31 1999
+@@ -52,8 +52,8 @@
RECURSIVE_MAKE=@RECURSIVE_MAKE@
c_switch_all=@c_switch_all@
-ld_switch_all=@ld_switch_all@
+-ld_libs_all=@ld_libs_all@
+ld_switch_all=@ld_switch_all@ @LDFLAGS@
- ld_libs_all=@ld_libs_all@
++ld_libs_all=@ld_libs_all@ -lossaudio
ld_dynamic_link_flags=@ld_dynamic_link_flags@
+ extra_objs=@extra_objs@