(fwd) Re: ports/50858: compile of ecasound-2.2.2 fails with undeclared functions

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: (fwd) Re: ports/50858: compile of ecasound-2.2.2 fails with undeclared functions
From: The Anarcat (anarcat_AT_anarcat.ath.cx)
Date: Thu May 15 2003 - 01:42:08 EEST


Trying to fix my port of ecasound on freebsd...

If you noticed the note[1] in there, you'll see there is no way to
disable pyecasound if python is available.

I have yet to find the proper freebsd-specific ports magic to
workaround this issue but I was wondering why the --disable-pyecasound
was gone. I miss it. :)

Sorry for delaying my work so much,

A.

-- 
Advertisers, not governments, are the primary censors of media content 
in the United States today.
                        - C. Edwin Baker
                        http://www.ad-mad.co.uk/quotes/freespeech.htm

attached mail follows:


Ok, here's another attempt at fixing this.

This patch does the following:

0- unbreak the port (build tested on 4.7 and 5.1-BETA without python) 1- upgrade to 2.2.3 (which gets rid of python dependencies [1]) 2- don't use automake since this port doesn't hack Makefiles anymore 3- don't install shared libs (ecasound is now all-static) 4- don't depend on FreeBSD's readline anymore, use the ports' readline 5- remove commented stuff 6- remove useless runtime depends that ecasound can detect after being installed

[1] note that there is still a bug here: ecasound python packages might get installed if python is indeed installed on the system, since ecasound configure routines auto-detect python and I have no way of turning this off... :(

NB: this patch should apply on recent ports, but I can submit a shar if it doesn't.

diff -ru /usr/ports/audio/ecasound/Makefile ecasound/Makefile --- /usr/ports/audio/ecasound/Makefile Wed May 14 18:08:53 2003 +++ ecasound/Makefile Tue May 13 22:51:03 2003 @@ -2,39 +2,22 @@ # Date created: 22 dec 2000 # Whom: The Anarcat <anarcat_AT_anarcat.dyndns.org> # -# $FreeBSD: ports/audio/ecasound/Makefile,v 1.13 2003/05/06 07:02:47 kris Exp $ +# $FreeBSD: ports/audio/ecasound/Makefile,v 1.12 2003/04/06 00:04:59 arved Exp $ # PORTNAME= ecasound -PORTVERSION= 2.2.2 +PORTVERSION= 2.2.3 CATEGORIES= audio MASTER_SITES= http://ecasound.seul.org/download/ MAINTAINER= anarcat_AT_anarcat.ath.cx COMMENT= Multitrack audio processing software -BROKEN= "Does not compile" - USE_GMAKE= yes -USE_AUTOMAKE_VER=14 USE_LIBTOOL= yes -INSTALLS_SHLIB= yes -CONFIGURE_ARGS+= --enable-sys-readline MAKE_ENV+= ${CONFIGURE_ENV} -.if defined(WITH_MPG123) -RUN_DEPENDS+= mpg123:${PORTSDIR}/audio/mpg123 -.endif - -.if defined(WITH_LAME) -RUN_DEPENDS+= lame:${PORTSDIR}/audio/lame -.endif - -.if defined(WITH_MIKMOD) -RUN_DEPENDS+= mikmod:${PORTSDIR}/audio/mikmod -.endif - .if defined(WITH_AUDIOFILE) # very crappy hack to detect audiofile properly CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ @@ -46,13 +29,13 @@ CONFIGURE_ARGS+= --disable-audiofile .endif -#.if defined(WITH_PYECASOUND) -#USE_PYTHON= yes -#PLIST_SUB+= WITH_PYECASOUND="" -#.else -CONFIGURE_ARGS+= --disable-pyecasound +.if defined(WITH_PYECASOUND) +USE_PYTHON= yes +PLIST_SUB+= WITH_PYECASOUND="" +CONFIGURE_ARGS+= --enable-pyecasound +.else PLIST_SUB+= WITH_PYECASOUND="@comment " -#.endif +.endif .if !defined(WITH_OPTIMIZED_CFLAGS) EXTRA_PATCHES+= ${FILESDIR}/extra-patch-configure.in-optimizations @@ -76,9 +59,5 @@ .if !defined(WITH_OPTIMIZED_CFLAGS) @${PERL} -pi -e 's!-O2 -ffast-math!!' ${WRKSRC}/kvutils/Makefile.am .endif - -# strip ${PREFIX}/bin/ecaconvert ${PREFIX}/bin/ecafixdc \ -#${PREFIX}/bin/ecanormalize ${PREFIX}/bin/ecaplay ${PREFIX}/bin/ecasignalview \ -#${PREFIX}/bin/ecasound ${PREFIX}/bin/ecasound-config ${PREFIX}/bin/ecasoundc-config .include <bsd.port.mk> diff -ru /usr/ports/audio/ecasound/distinfo ecasound/distinfo --- /usr/ports/audio/ecasound/distinfo Sat Apr 5 20:24:51 2003 +++ ecasound/distinfo Tue May 13 20:23:37 2003 @@ -1 +1 @@ -MD5 (ecasound-2.2.2.tar.gz) = f40a2ea2cabf8b0cbd3663d522f74918 +MD5 (ecasound-2.2.3.tar.gz) = 40a3f0213c30b18e1b4e7879faa6b454 Only in /usr/ports/audio/ecasound/files: patch-ecasound::eca-curses.cpp

-- 
Advertisers, not governments, are the primary censors of media content 
in the United States today.
                        - C. Edwin Baker
                        http://www.ad-mad.co.uk/quotes/freespeech.htm




New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Thu May 15 2003 - 01:40:04 EEST