Date: Sun, 6 Aug 2006 00:47:18 +0400 (MSD) From: Stanislav Sedov <ssedov@mbsd.msk.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/101437: [PATCH] audio/ecasound: fix depends Message-ID: <20060805204718.BCE9B11B6D@fonon.realnet> Resent-Message-ID: <200608052150.k75LoFF7092893@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 101437 >Category: ports >Synopsis: [PATCH] audio/ecasound: fix depends >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Aug 05 21:50:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Stanislav Sedov >Release: FreeBSD 7.0-CURRENT i386 >Organization: MBSD labs, Inc. >Environment: System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Wed Aug 2 21:44:37 MSD >Description: - Depend on readline port if library exists - program will link it rather than a system one. >How-To-Repeat: >Fix: --- ecasound-2.4.4_2.patch begins here --- diff -ruN --exclude=CVS /usr/ports/audio/ecasound/Makefile /var/tmp/ecasound/Makefile --- /usr/ports/audio/ecasound/Makefile Wed May 3 09:14:14 2006 +++ /var/tmp/ecasound/Makefile Sun Aug 6 00:45:31 2006 @@ -7,7 +7,7 @@ PORTNAME= ecasound PORTVERSION= 2.4.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= http://ecasound.seul.org/download/ @@ -16,7 +16,7 @@ USE_GNOME= gnometarget USE_GMAKE= yes -GNU_CONFIGURE= yes +GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" CONFIGURE_ARGS= --disable-pyecasound --disable-rubyecasound --with-largefile \ --enable-sys-readline @@ -32,8 +32,11 @@ .include <bsd.port.pre.mk> -.if ${OSVERSION} < 500000 +.if ${OSVERSION} < 500000 || exists(${LOCALBASE}/lib/libreadline.so.5) LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline +.endif + +.if ${OSVERSION} < 500000 CFLAGS+= -fpermissive .endif --- ecasound-2.4.4_2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060805204718.BCE9B11B6D>