diff options
author | obrien <obrien@FreeBSD.org> | 2010-10-11 15:30:32 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2010-10-11 15:30:32 +0800 |
commit | 4617dc4d4ee70bae69cd3a3a43183dbb80b8872d (patch) | |
tree | b91be09ff2d230a0216e3ec80347ea20b05c0b69 /net | |
parent | d7eb913c0c84dcce77b937438d19579ef8bdd40b (diff) | |
download | freebsd-ports-gnome-4617dc4d4ee70bae69cd3a3a43183dbb80b8872d.tar.gz freebsd-ports-gnome-4617dc4d4ee70bae69cd3a3a43183dbb80b8872d.tar.zst freebsd-ports-gnome-4617dc4d4ee70bae69cd3a3a43183dbb80b8872d.zip |
Rdesktop will use several sound related libraries if they are already
installed, without telling it to do so. So ensure these dependencies
get registered.
PR: 146720
Submitted by: Yuri Pankov <yuri.pankov@gmail.com> (reworked by me)
Diffstat (limited to 'net')
-rw-r--r-- | net/rdesktop/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/net/rdesktop/Makefile b/net/rdesktop/Makefile index 957984ab67b4..a72cb5ee04ef 100644 --- a/net/rdesktop/Makefile +++ b/net/rdesktop/Makefile @@ -21,6 +21,16 @@ GNU_CONFIGURE= yes DOCS= doc/AUTHORS doc/TODO doc/*.txt MAN1= rdesktop.1 +.include <bsd.port.pre.mk> + +.if exists(${LOCALBASE}/lib/libao.so) || defined(WITH_LIBAO) +LIB_DEPENDS+= ao.3:${PORTSDIR}/audio/libao +.endif + +.if exists(${LOCALBASE}/lib/libsamplerate.so) || defined(WITH_LIBSAMPLERATE) +LIB_DEPENDS+= samplerate.1:${PORTSDIR}/audio/libsamplerate +.endif + .if !defined(WITHOUT_RDESKTOP_IPV6) && !defined(WITHOUT_IPV6) CONFIGURE_ARGS+= --with-ipv6 .endif @@ -53,4 +63,4 @@ do-install: cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |