diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2010-10-11 15:30:32 +0800 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2010-10-11 15:30:32 +0800 |
commit | 3088cdc842a040e524d5d38cd5f8b3089bea5a63 (patch) | |
tree | c28d691391970302177e3581be7fb913067e9ebe /net | |
parent | 0d28993fc9c37aeb21f05a01e814026c22d6e04f (diff) | |
download | freebsd-ports-gnome-3088cdc842a040e524d5d38cd5f8b3089bea5a63.tar.gz freebsd-ports-gnome-3088cdc842a040e524d5d38cd5f8b3089bea5a63.tar.zst freebsd-ports-gnome-3088cdc842a040e524d5d38cd5f8b3089bea5a63.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> |