aboutsummaryrefslogtreecommitdiff
path: root/net/samba-libsmbclient/Makefile.inc
diff options
context:
space:
mode:
authorTimur I. Bakeyev <timur@FreeBSD.org>2007-06-14 23:16:02 +0000
committerTimur I. Bakeyev <timur@FreeBSD.org>2007-06-14 23:16:02 +0000
commit5ebee66976e807fbd4fda21c7136699b70739f7d (patch)
tree61e3e54a5e9f0907d5e965e6438bef6144bea6e2 /net/samba-libsmbclient/Makefile.inc
parent4a82c661d3938892e200e6ba36be77436adb35cb (diff)
downloadports-5ebee66976e807fbd4fda21c7136699b70739f7d.tar.gz
ports-5ebee66976e807fbd4fda21c7136699b70739f7d.zip
Notes
Diffstat (limited to 'net/samba-libsmbclient/Makefile.inc')
-rw-r--r--net/samba-libsmbclient/Makefile.inc23
1 files changed, 11 insertions, 12 deletions
diff --git a/net/samba-libsmbclient/Makefile.inc b/net/samba-libsmbclient/Makefile.inc
index 52bc317311d7..362016e999a5 100644
--- a/net/samba-libsmbclient/Makefile.inc
+++ b/net/samba-libsmbclient/Makefile.inc
@@ -4,12 +4,13 @@ CONFIGURE_ARGS+= --without-python
CONFIGURE_ARGS+= --with-libsmbclient
SAMBA_INSTALL_LIBS= libsmbclient
-.if !defined(WITHOUT_MSRPC)
-CONFIGURE_ARGS+= --with-libmsrpc
-SAMBA_INSTALL_LIBS+= libmsrpc
-PLIST_SUB+= MSRPC=""
+.if !defined(WITHOUT_ADDNS)
+CONFIGURE_ARGS+= --with-libaddns
+SAMBA_INSTALL_LIBS+= libaddns
+PLIST_SUB+= ADDNS=""
.else
-PLIST_SUB+= MSRPC="@comment "
+CONFIGURE_ARGS+= --without-libaddns
+PLIST_SUB+= ADDNS="@comment "
.endif
.if !defined(WITHOUT_SHAREMODES)
@@ -17,6 +18,7 @@ CONFIGURE_ARGS+= --with-libsmbsharemodes
SAMBA_INSTALL_LIBS+= libsmbsharemodes
PLIST_SUB+= SHAREMODES=""
.else
+CONFIGURE_ARGS+= --without-libsmbsharemodes
PLIST_SUB+= SHAREMODES="@comment "
.endif
@@ -25,8 +27,8 @@ MAN7= libsmbclient.7
do-build:
cd ${WRKSRC} && ${MAKE} proto
cd ${WRKSRC} && ${MAKE} libsmbclient
-.if !defined(WITHOUT_MSRPC)
- cd ${WRKSRC} && ${MAKE} cac
+.if !defined(WITHOUT_ADDNS)
+ cd ${WRKSRC} && ${MAKE} libaddns
.endif
.if !defined(WITHOUT_SHAREMODES)
cd ${WRKSRC} && ${MAKE} libsmbsharemodes
@@ -39,8 +41,8 @@ do-install:
.endfor
-@${MKDIR} ${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/include/libsmbclient.h ${PREFIX}/include
-.if !defined(WITHOUT_MSRPC)
- ${INSTALL_DATA} ${WRKSRC}/include/libmsrpc.h ${PREFIX}/include
+.if !defined(WITHOUT_ADDNS)
+ ${INSTALL_DATA} ${WRKSRC}/libaddns/addns.h ${PREFIX}/include
.endif
-@${MKDIR} ${PREFIX}/lib
.for lib in ${SAMBA_INSTALL_LIBS}
@@ -50,6 +52,3 @@ do-install:
.endfor
-@${MKDIR} ${EXAMPLESDIR}
@${CP} -Rp ${WRKDIR}/${DISTNAME}/examples/libsmbclient ${EXAMPLESDIR}
-.if !defined(WITHOUT_MSRPC)
- @${CP} -Rp ${WRKDIR}/${DISTNAME}/examples/libmsrpc ${EXAMPLESDIR}
-.endif