pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/csound-dev Make csound-dev build and run in Linux.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e358e48eeb50
branches:  trunk
changeset: 473244:e358e48eeb50
user:      ben <ben%pkgsrc.org@localhost>
date:      Sat Apr 17 23:10:19 2004 +0000

description:
Make csound-dev build and run in Linux.

diffstat:

 audio/csound-dev/Makefile         |  15 ++++++++++++++-
 audio/csound-dev/distinfo         |   4 ++--
 audio/csound-dev/patches/patch-aa |   4 ++--
 3 files changed, 18 insertions(+), 5 deletions(-)

diffs (61 lines):

diff -r de6f8b5b1289 -r e358e48eeb50 audio/csound-dev/Makefile
--- a/audio/csound-dev/Makefile Sat Apr 17 22:48:06 2004 +0000
+++ b/audio/csound-dev/Makefile Sat Apr 17 23:10:19 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2004/04/14 14:59:28 ben Exp $
+# $NetBSD: Makefile,v 1.10 2004/04/17 23:10:19 ben Exp $
 #
 
 DISTNAME=              Csound-4.24.1
@@ -25,6 +25,19 @@
 CONFLICTS=             csound-bath*
 USE_LANGUAGES=         c c++
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+SUBST_CLASSES+=                defbsd
+SUBST_MESSAGE.defbsd=  "Configuring to use NetBSD presets."
+SUBST_STAGE.defbsd=    post-patch
+SUBST_FILES.defbsd=    Makefile.defs
+SUBST_SED.defbsd=      -e 's,^\(DEFINES =\),\1 -DBSD,'
+.endif
+
+pre-install:
+                       ${RM} -f ${WRKSRC}/include/Csound/sysdep.h.orig
+
 .include "../../x11/fltk/buildlink3.mk"
 .include "../../mk/ossaudio.buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
diff -r de6f8b5b1289 -r e358e48eeb50 audio/csound-dev/distinfo
--- a/audio/csound-dev/distinfo Sat Apr 17 22:48:06 2004 +0000
+++ b/audio/csound-dev/distinfo Sat Apr 17 23:10:19 2004 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.5 2004/03/15 20:52:07 ben Exp $
+$NetBSD: distinfo,v 1.6 2004/04/17 23:10:19 ben Exp $
 
 SHA1 (csound/Csound-4.24.1.tar.bz2) = a14903e23b72c78a870b0d38df7bbdb5e1a56c9e
 Size (csound/Csound-4.24.1.tar.bz2) = 1116589 bytes
-SHA1 (patch-aa) = b596c7bec6060b7d3a8902e4cd2d0e5982b5fe4c
+SHA1 (patch-aa) = 128348a54bc5df73feb2cbd45fd07e4246565f89
 SHA1 (patch-ab) = 64a0cf6a5b720d05d625613117c26f5669553d79
 SHA1 (patch-ac) = 4c59bab1d38ae65fba96cab5b8718f8d41646ccd
 SHA1 (patch-ad) = 8e001b34e1e0a2a1beba5d50667b1b402143c532
diff -r de6f8b5b1289 -r e358e48eeb50 audio/csound-dev/patches/patch-aa
--- a/audio/csound-dev/patches/patch-aa Sat Apr 17 22:48:06 2004 +0000
+++ b/audio/csound-dev/patches/patch-aa Sat Apr 17 23:10:19 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 2004/02/19 04:49:40 ben Exp $
+$NetBSD: patch-aa,v 1.3 2004/04/17 23:10:19 ben Exp $
 
 --- Makefile.defs.orig 2003-02-25 19:24:01.000000000 -0800
 +++ Makefile.defs
@@ -25,7 +25,7 @@
  DEFINES = -DWINDOWS -DSFIRCAM -DSYS5 -DLINUX -DHAVE_TERMIOS_H         \
          -DIV_VERSION -DPIPES -DMACROS -DHAVE_FLTK -D_REENTRANT        \
 -        -DHAVE_SSTREAM -DMYFLT=float
-+        -DHAVE_SSTREAM -DMYFLT=float -DBSD -DDEVOSSSOUND="\"$(DEVOSSSOUND)\""
++        -DHAVE_SSTREAM -DMYFLT=float -DDEVOSSSOUND="\"$(DEVOSSSOUND)\""
  # choose any of -
  #     -DSYS5          invoke System V headers, e.g. 'string.h' for 'strings.h'
  #     -DHAVE_SSTREAM  include <sstream> header from C++ sources, instead of



Home | Main Index | Thread Index | Old Index