ports/50858: compile of ecasound-2.2.2 fails with undeclared functions

The Anarcat anarcat at anarcat.ath.cx
Wed May 14 22:40:11 UTC 2003


The following reply was made to PR ports/50858; it has been noted by GNATS.

From: The Anarcat <anarcat at anarcat.ath.cx>
To: freebsd-gnats-submit at FreeBSD.org
Cc:  
Subject: Re: ports/50858: compile of ecasound-2.2.2 fails with undeclared functions
Date: Wed, 14 May 2003 18:38:17 -0400

 --17pEHd4RhPHOinZp
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 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 $
  #
 =20
  PORTNAME=3D	ecasound
 -PORTVERSION=3D	2.2.2
 +PORTVERSION=3D	2.2.3
  CATEGORIES=3D	audio
  MASTER_SITES=3D	http://ecasound.seul.org/download/
 =20
  MAINTAINER=3D	anarcat at anarcat.ath.cx
  COMMENT=3D	Multitrack audio processing software
 =20
 -BROKEN=3D		"Does not compile"
 -
  USE_GMAKE=3D	yes
 -USE_AUTOMAKE_VER=3D14
  USE_LIBTOOL=3D	yes
 -INSTALLS_SHLIB=3D	yes
 =20
 -CONFIGURE_ARGS+=3D	--enable-sys-readline
  MAKE_ENV+=3D	${CONFIGURE_ENV}
 =20
 -.if defined(WITH_MPG123)
 -RUN_DEPENDS+=3D	mpg123:${PORTSDIR}/audio/mpg123
 -.endif
 -
 -.if defined(WITH_LAME)
 -RUN_DEPENDS+=3D	lame:${PORTSDIR}/audio/lame
 -.endif
 -
 -.if defined(WITH_MIKMOD)
 -RUN_DEPENDS+=3D	mikmod:${PORTSDIR}/audio/mikmod
 -.endif
 -
  .if defined(WITH_AUDIOFILE)
  # very crappy hack to detect audiofile properly
  CONFIGURE_ENV+=3D	CPPFLAGS=3D"-I${LOCALBASE}/include" \
 @@ -46,13 +29,13 @@
  CONFIGURE_ARGS+=3D	--disable-audiofile
  .endif
 =20
 -#.if defined(WITH_PYECASOUND)
 -#USE_PYTHON=3D	yes
 -#PLIST_SUB+=3D	WITH_PYECASOUND=3D""
 -#.else
 -CONFIGURE_ARGS+=3D	--disable-pyecasound
 +.if defined(WITH_PYECASOUND)
 +USE_PYTHON=3D	yes
 +PLIST_SUB+=3D	WITH_PYECASOUND=3D""
 +CONFIGURE_ARGS+=3D	--enable-pyecasound
 +.else
  PLIST_SUB+=3D	WITH_PYECASOUND=3D"@comment "
 -#.endif
 +.endif
 =20
  .if !defined(WITH_OPTIMIZED_CFLAGS)
  EXTRA_PATCHES+=3D	${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/ecasignalv=
 iew \
 -#${PREFIX}/bin/ecasound ${PREFIX}/bin/ecasound-config ${PREFIX}/bin/ecasou=
 ndc-config
 =20
  .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) =3D f40a2ea2cabf8b0cbd3663d522f74918
 +MD5 (ecasound-2.2.3.tar.gz) =3D 40a3f0213c30b18e1b4e7879faa6b454
 Only in /usr/ports/audio/ecasound/files: patch-ecasound::eca-curses.cpp
 
 
 
 --=20
 Advertisers, not governments, are the primary censors of media content=20
 in the United States today.
                         - C. Edwin Baker
                         http://www.ad-mad.co.uk/quotes/freespeech.htm
 
 --17pEHd4RhPHOinZp
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.1 (FreeBSD)
 
 iD8DBQE+wsVZttcWHAnWiGcRAvW7AJ9ik+SqBldl+w82bAKE6n4O03BWggCeJZy5
 CUIgDPtH+dETXMpDbcm4rd8=
 =8Yt3
 -----END PGP SIGNATURE-----
 
 --17pEHd4RhPHOinZp--



More information about the freebsd-ports-bugs mailing list