diff options
author | skrll <skrll@pkgsrc.org> | 2002-01-11 14:50:31 +0000 |
---|---|---|
committer | skrll <skrll@pkgsrc.org> | 2002-01-11 14:50:31 +0000 |
commit | a7339c5e6f1b3d67c62bdf5ff7cc88046b367bb6 (patch) | |
tree | 0f835230b9b6ed50d43b47c92c555f526006e60e /audio/csound | |
parent | cf3780e1c297bb9a22f17b6af3aaa92e4aea9e54 (diff) | |
download | pkgsrc-a7339c5e6f1b3d67c62bdf5ff7cc88046b367bb6.tar.gz |
Provide configure patch. Remove the build dependency on autoconf
Diffstat (limited to 'audio/csound')
-rw-r--r-- | audio/csound/Makefile | 7 | ||||
-rw-r--r-- | audio/csound/distinfo | 3 | ||||
-rw-r--r-- | audio/csound/patches/patch-ao | 256 |
3 files changed, 259 insertions, 7 deletions
diff --git a/audio/csound/Makefile b/audio/csound/Makefile index 03f31a1f56f..92c7eceb778 100644 --- a/audio/csound/Makefile +++ b/audio/csound/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2001/08/27 14:35:05 tron Exp $ +# $NetBSD: Makefile,v 1.5 2002/01/11 14:50:31 skrll Exp $ # DISTNAME= unofficial-csound-4.12.0.1b-linux.src @@ -10,8 +10,6 @@ MAINTAINER= collver@softhome.net HOMEPAGE= http://www.csound.org COMMENT= software synthesizer and sequencer -BUILD_DEPENDS+= autoconf>=2.13:../../devel/autoconf - LICENSE= csound-license NO_SRC_ON_CDROM= "no for-fee-redistribution" NO_BIN_ON_CDROM= ${NO_SRC_ON_CDROM} @@ -22,7 +20,4 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS+= --without-x --enable-OSS-RTAUDIO CONFLICTS= csound-bath* -pre-configure: - cd ${WRKSRC} && ${LOCALBASE}/bin/autoreconf --force - .include "../../mk/bsd.pkg.mk" diff --git a/audio/csound/distinfo b/audio/csound/distinfo index 6768ffcf290..d896a4d9a24 100644 --- a/audio/csound/distinfo +++ b/audio/csound/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2001/06/29 18:39:03 wiz Exp $ +$NetBSD: distinfo,v 1.4 2002/01/11 14:50:31 skrll Exp $ SHA1 (csound/unofficial-csound-4.12.0.1b-linux.src.tar.gz) = d8fe02c3443fc0a7c4f1edd71e696dedb80af90a Size (csound/unofficial-csound-4.12.0.1b-linux.src.tar.gz) = 1053587 bytes @@ -16,3 +16,4 @@ SHA1 (patch-ak) = eef2e5bf815a0359ca9c5474a26c8da038c5da0a SHA1 (patch-al) = e2a7a30496cfc70118f145590ed1658b459dd44b SHA1 (patch-am) = 4bd719ae9d402d6699a8e45782d04e4929e1e030 SHA1 (patch-an) = 29c786bdfbed4b1ae022b8dfdf4fa17409fbd9c9 +SHA1 (patch-ao) = ea7ed1e6172c3ece8c7f392a3f95504fda4befa3 diff --git a/audio/csound/patches/patch-ao b/audio/csound/patches/patch-ao new file mode 100644 index 00000000000..907a1a5f6d9 --- /dev/null +++ b/audio/csound/patches/patch-ao @@ -0,0 +1,256 @@ +$NetBSD: patch-ao,v 1.1 2002/01/11 14:50:32 skrll Exp $ + +--- configure.orig Fri Jan 11 13:58:48 2002 ++++ configure +@@ -1211,7 +1211,7 @@ + fi + fi + +-for ac_prog in gawk mawk nawk awk ++for ac_prog in mawk gawk nawk awk + do + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 +@@ -2483,12 +2483,13 @@ + echo "configure:2484: enable the OSS-RTAUDIO driver..." >&5 + RTAUDIO_DRIVER="LINUXaudio.c \${LINUX_DISTRIB_DIR}/OSSrtaudio.c" + DEFS="${DEFS} -DOSSRTAUDIO" ++ LIBS="-lossaudio ${LIBS}" + fi + + if test "${enable_rtaudio}" = "alsa" + then + echo "enable the ALSA driver..." 1>&6 +-echo "configure:2492: enable the ALSA driver..." >&5 ++echo "configure:2493: enable the ALSA driver..." >&5 + RTAUDIO_DRIVER=\${LINUX_DISTRIB_DIR}/ALSArtaudio-block.c + LIBS="-lasound ${LIBS}" + fi +@@ -2496,7 +2497,7 @@ + if test "${enable_rtaudio}" = "esd" + then + echo "enable the esound server driver..." 1>&6 +-echo "configure:2500: enable the esound server driver..." >&5 ++echo "configure:2501: enable the esound server driver..." >&5 + RTAUDIO_DRIVER=\${LINUX_DISTRIB_DIR}/esd-rtaudio.c + LIBS="-lesd ${LIBS}" + DEFS="${DEFS} -DESDRTAUDIO" +@@ -2517,7 +2518,7 @@ + if test "${enable_OSC_opcodes}" = "yes" + then + echo "enable the OSC opcodes..." 1>&6 +-echo "configure:2521: enable the OSC opcodes..." >&5 ++echo "configure:2522: enable the OSC opcodes..." >&5 + OSC_OPCODES="\${LINUX_DISTRIB_DIR}/OSC-sock.c" + DEFS="${DEFS} -DENABLE_OSC" + LIBS="-lOSC -lOSCtools ${LIBS}" +@@ -2540,18 +2541,18 @@ + if test "${enable_profile}" = "yes" + then + echo "enable profile flags (csound will get linked statically)..." 1>&6 +-echo "configure:2544: enable profile flags (csound will get linked statically)..." >&5 ++echo "configure:2545: enable profile flags (csound will get linked statically)..." >&5 + want_static_link="yes" + if test "$GCC" = "yes" -a "$GXX" = "yes" + then + echo "we have gcc and g++" 1>&6 +-echo "configure:2549: we have gcc and g++" >&5 ++echo "configure:2550: we have gcc and g++" >&5 + CFLAGS="-pg ${CFLAGS}" + CXXFLAGS="-pg ${CXXFLAGS}" + LDFLAGS="-pg ${LDFLAGS}" + else + echo "we do not have gcc nor g++" 1>&6 +-echo "configure:2555: we do not have gcc nor g++" >&5 ++echo "configure:2556: we do not have gcc nor g++" >&5 + CFLAGS="-p ${CFLAGS}" + CXXFLAGS="-p ${CXXFLAGS}" + LDFLAGS="-p ${LDFLAGS}" +@@ -2562,7 +2563,7 @@ + if test "${enable_debug}" != "yes" && test "${enable_profile}" != "yes" + then + echo "will strip executables to make them smaller..." 1>&6 +-echo "configure:2566: will strip executables to make them smaller..." >&5 ++echo "configure:2567: will strip executables to make them smaller..." >&5 + LDFLAGS="-s ${LDFLAGS}" # we may strip the executables + fi + +@@ -2583,14 +2584,14 @@ + if test "${enable_sliders}" = "tk" -o "${enable_sliders}" = "yes" + then + echo "enabling tk sliders..." 1>&6 +-echo "configure:2587: enabling tk sliders..." >&5 ++echo "configure:2588: enabling tk sliders..." >&5 + DEFS="${DEFS} -DTCLTK" + fi + + if test "${enable_sliders}" = "ipc" + then + echo "enabling unix IPC sliders..." 1>&6 +-echo "configure:2594: enabling unix IPC sliders..." >&5 ++echo "configure:2595: enabling unix IPC sliders..." >&5 + DEFS="${DEFS} -DIPCSLIDERS" + fi + +@@ -2609,7 +2610,7 @@ + if test "${enable_suid}" = "yes" + then + echo "csound will be installed with the suid flags set..." 1>&6 +-echo "configure:2613: csound will be installed with the suid flags set..." >&5 ++echo "configure:2614: csound will be installed with the suid flags set..." >&5 + CSOUND_INSTALLATION_MODE="6755" + else + CSOUND_INSTALLATION_MODE="755" +@@ -2634,7 +2635,7 @@ + if test "${enable_linebuf}" = "yes" + then + echo "csound will force line buffering for stdout and stderr (buffering: $linebuf_value...)" 1>&6 +-echo "configure:2638: csound will force line buffering for stdout and stderr (buffering: $linebuf_value...)" >&5 ++echo "configure:2639: csound will force line buffering for stdout and stderr (buffering: $linebuf_value...)" >&5 + cat >> confdefs.h <<EOF + #define FORCE_STDOUT_LBUF $linebuf_value + EOF +@@ -2647,7 +2648,7 @@ + # Uses ac_ vars as temps to allow command line to override cache and checks. + # --without-x overrides everything else, but does not touch the cache. + echo $ac_n "checking for X""... $ac_c" 1>&6 +-echo "configure:2651: checking for X" >&5 ++echo "configure:2652: checking for X" >&5 + + # Check whether --with-x or --without-x was given. + if test "${with_x+set}" = set; then +@@ -2709,12 +2710,12 @@ + + # First, try using that file with no special directory specified. + cat > conftest.$ac_ext <<EOF +-#line 2713 "configure" ++#line 2714 "configure" + #include "confdefs.h" + #include <$x_direct_test_include> + EOF + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +-{ (eval echo configure:2718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ++{ (eval echo configure:2719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } + ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` + if test -z "$ac_err"; then + rm -rf conftest* +@@ -2783,14 +2784,14 @@ + ac_save_LIBS="$LIBS" + LIBS="-l$x_direct_test_library $LIBS" + cat > conftest.$ac_ext <<EOF +-#line 2787 "configure" ++#line 2788 "configure" + #include "confdefs.h" + + int main() { + ${x_direct_test_function}() + ; return 0; } + EOF +-if { (eval echo configure:2794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:2795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + LIBS="$ac_save_LIBS" + # We can link X programs with no special library path. +@@ -2881,14 +2882,14 @@ + if test "$no_x" != "yes" && test "$have_x" = yes + then + echo "using X11 libraries..." 1>&6 +-echo "configure:2885: using X11 libraries..." >&5 ++echo "configure:2886: using X11 libraries..." >&5 + xlib_used=-lX11 + winsrc_used=winX11.c + winobj_used=winX11.o + windows_define_used=-DWINDOWS + else + echo "not using X11 libraries..." 1>&6 +-echo "configure:2892: not using X11 libraries..." >&5 ++echo "configure:2893: not using X11 libraries..." >&5 + xlib_used= + winsrc_used= + winobj_used= +@@ -2917,7 +2918,7 @@ + if test "${enable_dyn}" = "yes" && test "${want_static_link}" = "no" + then + echo "csound will get linked dynamically..." 1>&6 +-echo "configure:2921: csound will get linked dynamically..." >&5 ++echo "configure:2922: csound will get linked dynamically..." >&5 + cslib='$(CSADYNSO)' + libcscore='$(LIBCSCORE_DYNSO)' + CFLAGS="-fPIC ${CFLAGS}" +@@ -2925,7 +2926,7 @@ + LIBS="-l${csound_app_prefix}csound ${LIBS}" + else + echo "csound will get linked statically${static_link_reason}..." 1>&6 +-echo "configure:2929: csound will get linked statically${static_link_reason}..." >&5 ++echo "configure:2930: csound will get linked statically${static_link_reason}..." >&5 + cslib='$(CSASTAT)' + libcscore='$(LIBCSCORE_STAT)' + bindistrib_version="-static${bindistrib_version}" +@@ -2934,8 +2935,8 @@ + + + case $host in +- *linux) +- local_defines="-DRTAUDIO -DLINUX ${DEFS}" ++ *linux|*bsd) ++ local_defines="-DRTAUDIO -DLINUX -DBSD ${DEFS}" + ;; + *) + ;; +@@ -2944,12 +2945,12 @@ + case $host in + alpha*linux) + echo "setting CC wrapper for alpha..." 1>&6 +-echo "configure:2948: setting CC wrapper for alpha..." >&5 ++echo "configure:2949: setting CC wrapper for alpha..." >&5 + CC='$(TOP)/new-src/alpha-gcc.sh' + ;; + powerpc*linux) + echo "adjusting MINSHORT for LinuxPPC..." 1>&6 +-echo "configure:2953: adjusting MINSHORT for LinuxPPC..." >&5 ++echo "configure:2954: adjusting MINSHORT for LinuxPPC..." >&5 + local_defines="${local_defines} -DHAVE_SHRT_MIN" + ;; + *) +@@ -2959,7 +2960,7 @@ + if test -n "${local_defines}" + then + echo "added ${local_defines} compile-time defines..." 1>&6 +-echo "configure:2963: added ${local_defines} compile-time defines..." >&5 ++echo "configure:2964: added ${local_defines} compile-time defines..." >&5 + fi + + if test "${system_has_cut}" = "yes" +@@ -2967,20 +2968,20 @@ + + version_file="${ac_unique_file}" + csound_version_full=`(cat ${version_file}; echo VERSIONSTRING) | ${CPP} - | ${AWK} '/^" v"/ { gsub(/[" v]/,""); print $0; }'` +- csound_version_major=`echo ${csound_version_full} | cut -d '.' -f 1 -` +- csound_version_minor=`echo ${csound_version_full} | cut -d '.' -f 2 -` +- csound_patchlevel=`echo ${csound_version_full} | cut -d '.' -f 3 -` +- csound_betalevel=`echo ${csound_version_full} | cut -d '.' -f 4 -` ++ csound_version_major=`echo ${csound_version_full} | cut -d '.' -f 1` ++ csound_version_minor=`echo ${csound_version_full} | cut -d '.' -f 2` ++ csound_patchlevel=`echo ${csound_version_full} | cut -d '.' -f 3` ++ csound_betalevel=`echo ${csound_version_full} | cut -d '.' -f 4` + + echo "almost done configuring for csound version ${csound_version_major}.${csound_version_minor}.${csound_patchlevel}.${csound_betalevel}..." 1>&6 +-echo "configure:2977: almost done configuring for csound version ${csound_version_major}.${csound_version_minor}.${csound_patchlevel}.${csound_betalevel}..." >&5 ++echo "configure:2978: almost done configuring for csound version ${csound_version_major}.${csound_version_minor}.${csound_patchlevel}.${csound_betalevel}..." >&5 + else + csound_version_major="unknown" + csound_version_minor="unknown" + csound_patchlevel="unknown" + csound_betalevel="unknown" + echo "almost done configuring for csound..." 1>&6 +-echo "configure:2984: almost done configuring for csound..." >&5 ++echo "configure:2985: almost done configuring for csound..." >&5 + fi + + CXXFLAGS=${CFLAGS} +@@ -3374,4 +3375,4 @@ + test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 + + echo "configure process terminated; you should now run 'make depend; make'" 1>&6 +-echo "configure:3378: configure process terminated; you should now run 'make depend; make'" >&5 ++echo "configure:3379: configure process terminated; you should now run 'make depend; make'" >&5 |