diff options
author | ben <ben@pkgsrc.org> | 2004-04-17 23:10:19 +0000 |
---|---|---|
committer | ben <ben@pkgsrc.org> | 2004-04-17 23:10:19 +0000 |
commit | effbf2f889591c03fa58f33a2372808e8547a2bd (patch) | |
tree | 9673ce7f91dc57d80d67f2b0f23a0c51211403f0 /audio/csound-dev | |
parent | 2e6b82604d5f39f66ca0ae74dff0c3af7abe3eb4 (diff) | |
download | pkgsrc-effbf2f889591c03fa58f33a2372808e8547a2bd.tar.gz |
Make csound-dev build and run in Linux.
Diffstat (limited to 'audio/csound-dev')
-rw-r--r-- | audio/csound-dev/Makefile | 15 | ||||
-rw-r--r-- | audio/csound-dev/distinfo | 4 | ||||
-rw-r--r-- | audio/csound-dev/patches/patch-aa | 4 |
3 files changed, 18 insertions, 5 deletions
diff --git a/audio/csound-dev/Makefile b/audio/csound-dev/Makefile index 01022bba60b..46ce4f022dc 100644 --- a/audio/csound-dev/Makefile +++ b/audio/csound-dev/Makefile @@ -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 @@ USE_X11= yes 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 --git a/audio/csound-dev/distinfo b/audio/csound-dev/distinfo index f6f6ede45ae..71e412159e7 100644 --- a/audio/csound-dev/distinfo +++ b/audio/csound-dev/distinfo @@ -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 --git a/audio/csound-dev/patches/patch-aa b/audio/csound-dev/patches/patch-aa index 651e42c65ea..d0b1412f812 100644 --- a/audio/csound-dev/patches/patch-aa +++ b/audio/csound-dev/patches/patch-aa @@ -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 @@ $NetBSD: patch-aa,v 1.2 2004/02/19 04:49:40 ben Exp $ 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 |