Date: Fri, 24 Aug 2001 16:51:57 -0400 (EDT) From: The Anarcat <anarcat@anarcat.dyndns.org> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/30058: Update: audio/ecasound fails to detect properly audiofile Message-ID: <20010824205157.10D1A20BDD@shall.anarcat.dyndns.org>
next in thread | raw e-mail | index | archive | help
>Number: 30058 >Category: ports >Synopsis: Update: audio/ecasound fails to detect properly audiofile >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Aug 24 14:00:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: The Anarcat >Release: FreeBSD 4.4-RC i386 >Organization: >Environment: System: FreeBSD shall.anarcat.dyndns.org 4.4-RC FreeBSD 4.4-RC #4: Wed Aug 22 12:21:57 EDT 2001 anarcat@shall.anarcat.dyndns.org:/usr/obj/usr/src/sys/SHALL i386 ecasound-2.0.2 port >Description: Because of crappy autoconf macros, the configure script does not find the audiofile libs unless called as: LD_FLAGS=/usr/local/lib ./configure... >How-To-Repeat: (cd /usr/ports/audio/ecasound && make WITH_AUDIOFILE=yes) audiofile not detected. >Fix: Simple hack: we set LDFLAGS. Also set CFLAGS and CXXFLAGS while we're here. Warning: audiofile support is still broken. For some reason, the stupid flags don't get passed the whole Makefile hierarchy and ecasound can't find the audiofile headers files. Use FreeBSD readline instead of compiling a new one. Disable pyecasound for real. Cosmetic fixes to the makefile. --- /usr/ports/audio/ecasound/Makefile Fri Aug 24 14:36:01 2001 +++ Makefile Fri Aug 24 16:44:30 2001 @@ -21,6 +21,8 @@ USE_LIBTOOL= yes INSTALLS_SHLIB= yes +CONFIGURE_ARGS+= --enable-sys-readline + .if defined(WITH_MPG123) RUN_DEPENDS+= mpg123:${PORTSDIR}/audio/mpg123 .endif @@ -34,6 +36,9 @@ .endif .if defined(WITH_AUDIOFILE) +# very crappy hack to detect audiofile properly +CONFIGURE_ENV+= LDFLAGS=-L/usr/local/lib CFLAGS=-I/usr/local/include \ + CXXFLAGS=-I/usr/local/include LIB_DEPENDS+= audiofile.0:${PORTSDIR}/audio/libaudiofile .else CONFIGURE_ARGS+= --disable-audiofile @@ -43,21 +48,19 @@ #USE_PYTHON= yes #PLIST_SUB+= WITH_PYECASOUND="" #.else -#CONFIGURE_ARGS+= --disable-pyecasound -#PLIST_SUB+= WITH_PYECASOUND="@comment " +CONFIGURE_ARGS+= --disable-pyecasound +PLIST_SUB+= WITH_PYECASOUND="@comment " #.endif MAN1= ecasound-iam.1 ecasound.1 ecatools.1 MAN5= ecasoundrc.5 -#post-install: post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${PREFIX}/share/doc/ecasound ${MKDIR} ${PREFIX}/share/doc/ecasound/programmers_guide ${MKDIR} ${PREFIX}/share/doc/ecasound/users_guide - ${INSTALL_MAN} ${WRKSRC}/Documentation/*.html \ - ${WRKSRC}/Documentation/*.txt \ + ${INSTALL_MAN} ${WRKSRC}/Documentation/*.html ${WRKSRC}/Documentation/*.txt \ ${PREFIX}/share/doc/ecasound ${INSTALL_MAN} ${WRKSRC}/Documentation/programmers_guide/*.html \ ${PREFIX}/share/doc/ecasound/programmers_guide >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010824205157.10D1A20BDD>