aboutsummaryrefslogtreecommitdiff
path: root/net/samba-libsmbclient
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2006-09-04 19:00:17 +0000
committerRenato Botelho <garga@FreeBSD.org>2006-09-04 19:00:17 +0000
commita8c167b56575671955e0e9bfeea126fd48071b18 (patch)
tree5119aab6b35b7f444007f60bb37ef161dfa55bba /net/samba-libsmbclient
parent7fe0166ff539efdb7e05bf99c329623dc6b9cdc6 (diff)
downloadports-a8c167b56575671955e0e9bfeea126fd48071b18.tar.gz
ports-a8c167b56575671955e0e9bfeea126fd48071b18.zip
Notes
Diffstat (limited to 'net/samba-libsmbclient')
-rw-r--r--net/samba-libsmbclient/Makefile2
-rw-r--r--net/samba-libsmbclient/Makefile.inc12
2 files changed, 7 insertions, 7 deletions
diff --git a/net/samba-libsmbclient/Makefile b/net/samba-libsmbclient/Makefile
index ddb5c7925768..9b7cf166ee74 100644
--- a/net/samba-libsmbclient/Makefile
+++ b/net/samba-libsmbclient/Makefile
@@ -19,7 +19,7 @@ SAMBA_SUBPORT= yes
MASTERDIR= ${.CURDIR}/../${SAMBA_PORT}
PKGDIR= ${.CURDIR}
-INSTALLS_SHLIB= yes
+USE_LDCONFIG= yes
OPTIONS= ADS "With Active Directory support" off \
MSRPC "Build the libmsrpc shared library" off \
diff --git a/net/samba-libsmbclient/Makefile.inc b/net/samba-libsmbclient/Makefile.inc
index 79d60c2e2cdf..52bc317311d7 100644
--- a/net/samba-libsmbclient/Makefile.inc
+++ b/net/samba-libsmbclient/Makefile.inc
@@ -4,7 +4,7 @@ CONFIGURE_ARGS+= --without-python
CONFIGURE_ARGS+= --with-libsmbclient
SAMBA_INSTALL_LIBS= libsmbclient
-.if defined(WITH_MSRPC)
+.if !defined(WITHOUT_MSRPC)
CONFIGURE_ARGS+= --with-libmsrpc
SAMBA_INSTALL_LIBS+= libmsrpc
PLIST_SUB+= MSRPC=""
@@ -12,7 +12,7 @@ PLIST_SUB+= MSRPC=""
PLIST_SUB+= MSRPC="@comment "
.endif
-.if defined(WITH_SHAREMODES)
+.if !defined(WITHOUT_SHAREMODES)
CONFIGURE_ARGS+= --with-libsmbsharemodes
SAMBA_INSTALL_LIBS+= libsmbsharemodes
PLIST_SUB+= SHAREMODES=""
@@ -25,10 +25,10 @@ MAN7= libsmbclient.7
do-build:
cd ${WRKSRC} && ${MAKE} proto
cd ${WRKSRC} && ${MAKE} libsmbclient
-.if defined(WITH_MSRPC)
+.if !defined(WITHOUT_MSRPC)
cd ${WRKSRC} && ${MAKE} cac
.endif
-.if defined(WITH_SHAREMODES)
+.if !defined(WITHOUT_SHAREMODES)
cd ${WRKSRC} && ${MAKE} libsmbsharemodes
.endif
@@ -39,7 +39,7 @@ do-install:
.endfor
-@${MKDIR} ${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/include/libsmbclient.h ${PREFIX}/include
-.if defined(WITH_MSRPC)
+.if !defined(WITHOUT_MSRPC)
${INSTALL_DATA} ${WRKSRC}/include/libmsrpc.h ${PREFIX}/include
.endif
-@${MKDIR} ${PREFIX}/lib
@@ -50,6 +50,6 @@ do-install:
.endfor
-@${MKDIR} ${EXAMPLESDIR}
@${CP} -Rp ${WRKDIR}/${DISTNAME}/examples/libsmbclient ${EXAMPLESDIR}
-.if defined(WITH_MSRPC)
+.if !defined(WITHOUT_MSRPC)
@${CP} -Rp ${WRKDIR}/${DISTNAME}/examples/libmsrpc ${EXAMPLESDIR}
.endif