diff options
Diffstat (limited to 'net/samba-libsmbclient/Makefile')
-rw-r--r-- | net/samba-libsmbclient/Makefile | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/net/samba-libsmbclient/Makefile b/net/samba-libsmbclient/Makefile index 57a7d9911716..4b9b39c641b9 100644 --- a/net/samba-libsmbclient/Makefile +++ b/net/samba-libsmbclient/Makefile @@ -12,38 +12,40 @@ PKGNAMESUFFIX= -libsmbclient MAINTAINER= kwm@rainbow-runner.nl COMMENT= The shared lib from the samba packages -CONFLICTS= samba-3.* - -USE_ICONV= yes -GNU_CONFIGURE= yes -INSTALLS_SHLIB= yes +CONFLICTS= SAMBA_PORT= samba-devel SAMBA_SUBPORT= yes MASTERDIR= ${.CURDIR}/../${SAMBA_PORT} PKGDIR= ${.CURDIR} + +INSTALLS_SHLIB= yes + # We WANT libsmbclient support :) CONFIGURE_ARGS+= --with-libsmbclient -CONFIGURE_ARGS+= --with-libiconv # This is taken from SAMBA_PORT(grep without) +CONFIGURE_ARGS+= --disable-cups CONFIGURE_ARGS+= --without-python +CONFIGURE_ARGS+= --without-syslog +CONFIGURE_ARGS+= --without-quotas CONFIGURE_ARGS+= --without-utmp CONFIGURE_ARGS+= --without-winbind -CONFIGURE_ARGS+= --without-ads -CONFIGURE_ARGS+= --without-ldap CONFIGURE_ARGS+= --without-ldapsam -CONFIGURE_ARGS+= --without-krb5 CONFIGURE_ARGS+= --without-pam_smbpass do-build: - cd ${WRKSRC} && ${MAKE} include/proto.h + cd ${WRKSRC} && ${MAKE} proto cd ${WRKSRC} && ${MAKE} libsmbclient do-install: + -@${MKDIR} ${PREFIX}/include ${INSTALL_DATA} ${WRKSRC}/include/libsmbclient.h ${PREFIX}/include + -@${MKDIR} ${PREFIX}/lib ${INSTALL_SCRIPT} ${WRKSRC}/bin/libsmbclient.a ${PREFIX}/lib ${INSTALL_SCRIPT} ${WRKSRC}/bin/libsmbclient.so.0 ${PREFIX}/lib ${LN} -snf libsmbclient.so.0 ${PREFIX}/lib/libsmbclient.so + -@${MKDIR} ${EXAMPLESDIR} + @${CP} -Rp ${WRKDIR}/${DISTNAME}/examples/libsmbclient/* ${EXAMPLESDIR} .include "${MASTERDIR}/Makefile" |