From: Ben Collver ()
Date: Dec 4, 2004
Subject:
Re: csound on OpenBSD?
On Sat, Dec 04, 2004 at 05:53:28PM -0500, Jesse Ray Lucas wrote:
> Anyone ever try and/or succeed in building csound on OpenBSD?
>
> Can anyone suggest changes to the Makefile to make it happen?
I am guessing that it isn't much different from NetBSD. If so, then
install GNU PTH, and FLTK, export CFLAGS=-D__NetBSD__, and finally
see the following patch to configure.ac
Hope this helps,
Ben
Index: configure.ac
===================================================================
RCS file: /cvsroot/csound/csound/configure.ac,v
retrieving revision 1.63
diff -u -r1.63 configure.ac
--- configure.ac 2 Dec 2004 03:32:57 -0000 1.63
+++ configure.ac 5 Dec 2004 00:05:17 -0000 [EMAIL REMOVED] +79,7 @@
AC_MSG_CHECKING([for supported operating system])
case "$host_os" in
- netbsd*)
+ netbsd*|openbsd*)
opsys=netbsd
AC_DEFINE([NETBSD], 1, [Define for the NetBSD operating system.])
;; [EMAIL REMOVED] +326,7 @@
# Select the object files used for real-time audio.
case "$opsys" in
- netbsd)
+ netbsd|openbsd)
RTAUDIO_OBJS="rtNetBSD.lo"
;;
linux)
-- [EMAIL REMOVED] (or to http://www.cs.bath.ac.uk/cgi-bin/csound ) [EMAIL REMOVED]