aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2010-10-11 07:30:32 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2010-10-11 07:30:32 +0000
commit3088cdc842a040e524d5d38cd5f8b3089bea5a63 (patch)
treec28d691391970302177e3581be7fb913067e9ebe /net
parent0d28993fc9c37aeb21f05a01e814026c22d6e04f (diff)
downloadports-3088cdc842a040e524d5d38cd5f8b3089bea5a63.tar.gz
ports-3088cdc842a040e524d5d38cd5f8b3089bea5a63.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/rdesktop/Makefile12
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>