diff options
author | jperkin <jperkin@pkgsrc.org> | 2016-02-29 17:13:06 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2016-02-29 17:13:06 +0000 |
commit | e740d567e6e5996518ece5d8e68bf1eefcb0461c (patch) | |
tree | a7431c542cbfd5bed4e2d2a8ba37d403757e04e6 /net/samba/Makefile | |
parent | 211c3159873e2db23ca2ce01deeefa7398e44965 (diff) | |
download | pkgsrc-e740d567e6e5996518ece5d8e68bf1eefcb0461c.tar.gz |
Various build and install fixes for Darwin.
Diffstat (limited to 'net/samba/Makefile')
-rw-r--r-- | net/samba/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/net/samba/Makefile b/net/samba/Makefile index 5b28ed3b7fd..330e5465c53 100644 --- a/net/samba/Makefile +++ b/net/samba/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.256 2015/10/23 19:07:58 tnn Exp $ +# $NetBSD: Makefile,v 1.257 2016/02/29 17:13:06 jperkin Exp $ DISTNAME= samba-${VERSION} CATEGORIES= net @@ -76,7 +76,6 @@ CONFIGURE_ARGS+= --enable-merged-build=no .include "../../net/samba/options.mk" .if ${_OPSYS_SHLIB_TYPE} == "dylib" -CHECK_SHLIBS_SKIP+= lib/samba/*/*.dylib lib/security/pam_winbind.dylib PLIST_SUBST+= LIBEXT=dylib SAMBA_LIBEXT= dylib .else @@ -152,6 +151,11 @@ post-install: ${INSTALL_SCRIPT} ${WRKSRC}/script/updatesmbpasswd.sh \ ${DESTDIR}${PREFIX}/${EGDIR} ${CHMOD} ${SHAREMODE} ${DESTDIR}${PREFIX}/include/*.h +.if ${_OPSYS_SHLIB_TYPE} == "dylib" + cd ${DESTDIR}${PREFIX}; ${FIND} lib/samba lib/security -name "*.dylib" | while read lib; do \ + install_name_tool -id ${PREFIX}/$${lib} $${lib}; \ + done +.endif .include "../../net/samba/Makefile.mirrors" |