aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-10-20 21:49:04 +0800
committerwg <wg@FreeBSD.org>2013-10-20 21:49:04 +0800
commit7f99538e957bd602bdbfa02370653a8584485d3e (patch)
tree57b98afa8fd47fed1cd9342b2009e9aa0c620044 /multimedia
parent900a3819ccf4e5840ff2aba7b7d658db2aa08782 (diff)
downloadfreebsd-ports-gnome-7f99538e957bd602bdbfa02370653a8584485d3e.tar.gz
freebsd-ports-gnome-7f99538e957bd602bdbfa02370653a8584485d3e.tar.zst
freebsd-ports-gnome-7f99538e957bd602bdbfa02370653a8584485d3e.zip
multimedia/libxine: fix build with SMB option
- Fix build with SMB option Reported by: Jürgen Galonska <caligula primamail.de> Approved by: nox (maintainer)
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libxine/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/multimedia/libxine/Makefile b/multimedia/libxine/Makefile
index 5150df0fe0f8..3775e57dc926 100644
--- a/multimedia/libxine/Makefile
+++ b/multimedia/libxine/Makefile
@@ -148,6 +148,8 @@ PLIST_SUB+= WITH_XVMC="@comment "
.if ${PORT_OPTIONS:MSMB}
LIB_DEPENDS+= libsmbclient.so:${PORTSDIR}/net/samba-libsmbclient
PLIST_SUB+= WITH_SMB=""
+CONFIGURE_ENV+= LIBSMBCLIENT_LIBS="-L${LOCALBASE}/lib -lsmbclient" \
+ LIBSMBCLIENT_CFLAGS="-I${LOCALBASE}/include"
CONFIGURE_ARGS+= --enable-samba
.else
PLIST_SUB+= WITH_SMB="@comment "