ports/101437: [PATCH] audio/ecasound: fix depends
Stanislav Sedov
ssedov at mbsd.msk.ru
Sat Aug 5 21:50:17 UTC 2006
>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:
More information about the freebsd-ports-bugs
mailing list