diff options
author | tijl <tijl@FreeBSD.org> | 2014-09-19 23:26:16 +0800 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2014-09-19 23:26:16 +0800 |
commit | dbcc619053235d7007205fc31b272c1be96f68b4 (patch) | |
tree | 9b246f959c33c17e1a6d51692da98ca17c909bfb /net | |
parent | 66d4d3b31456c3c430c0db56de0ca492b045cfea (diff) | |
download | freebsd-ports-gnome-dbcc619053235d7007205fc31b272c1be96f68b4.tar.gz freebsd-ports-gnome-dbcc619053235d7007205fc31b272c1be96f68b4.tar.zst freebsd-ports-gnome-dbcc619053235d7007205fc31b272c1be96f68b4.zip |
Install smbk5pwd and pw-sha2 modules using make install such that the
libtool libraries are installed correctly.
Diffstat (limited to 'net')
-rw-r--r-- | net/openldap24-server/Makefile | 24 | ||||
-rw-r--r-- | net/openldap24-server/pkg-plist | 2 |
2 files changed, 12 insertions, 14 deletions
diff --git a/net/openldap24-server/Makefile b/net/openldap24-server/Makefile index 4bd756a5dacb..d03b8beed9d3 100644 --- a/net/openldap24-server/Makefile +++ b/net/openldap24-server/Makefile @@ -59,7 +59,7 @@ BROKEN= incompatible OpenLDAP version: ${WANT_OPENLDAP_VER} .endif PORTREVISION_CLIENT= 2 -PORTREVISION_SERVER= 4 +PORTREVISION_SERVER= 5 OPENLDAP_SHLIB_MAJOR= 2 OPENLDAP_MAJOR= ${DISTVERSION:R} @@ -539,22 +539,18 @@ post-install: done .else @${MKDIR} ${STAGEDIR}${LDAP_RUN_DIR} -.if ${PORT_OPTIONS:MDYNAMIC_BACKENDS} - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/openldap/*.so.${OPENLDAP_SHLIB_MAJOR} -.endif .if ${PORT_OPTIONS:MSMBPWD} - @${INSTALL_DATA} ${WRKSRC}/contrib/slapd-modules/smbk5pwd/smbk5pwd.la \ - ${STAGEDIR}${PREFIX}/libexec/openldap/ - @${INSTALL_PROGRAM} ${WRKSRC}/contrib/slapd-modules/smbk5pwd/.libs/smbk5pwd.so.0 \ - ${STAGEDIR}${PREFIX}/libexec/openldap/ - @${LN} -s smbk5pwd.so.0 ${STAGEDIR}${PREFIX}/libexec/openldap/smbk5pwd.so + @(cd ${WRKSRC}/contrib/slapd-modules/smbk5pwd && ${SETENV} ${MAKE_ENV} \ + ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install) + ${RM} ${STAGEDIR}${PREFIX}/libexec/openldap/smbk5pwd.a .endif .if ${PORT_OPTIONS:MSHA2} - @${INSTALL_DATA} ${WRKSRC}/contrib/slapd-modules/passwd/sha2/pw-sha2.la \ - ${STAGEDIR}${PREFIX}/libexec/openldap/ - @${INSTALL_PROGRAM} ${WRKSRC}/contrib/slapd-modules/passwd/sha2/.libs/pw-sha2.so.0 \ - ${STAGEDIR}${PREFIX}/libexec/openldap/ - @${LN} -s pw-sha2.so.0 ${STAGEDIR}${PREFIX}/libexec/openldap/pw-sha2.so + @(cd ${WRKSRC}/contrib/slapd-modules/passwd/sha2 && ${SETENV} ${MAKE_ENV} \ + ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install) + ${RM} ${STAGEDIR}${PREFIX}/libexec/openldap/pw-sha2.a +.endif +.if ${PORT_OPTIONS:MDYNAMIC_BACKENDS} || ${PORT_OPTIONS:MSMBPWD} || ${PORT_OPTIONS:MSHA2} + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/openldap/*.so .endif .endif # defined(CLIENT_ONLY) diff --git a/net/openldap24-server/pkg-plist b/net/openldap24-server/pkg-plist index 8ebf20ed6825..48c36a17548b 100644 --- a/net/openldap24-server/pkg-plist +++ b/net/openldap24-server/pkg-plist @@ -94,9 +94,11 @@ %%SHA2%%libexec/openldap/pw-sha2.la %%SHA2%%libexec/openldap/pw-sha2.so %%SHA2%%libexec/openldap/pw-sha2.so.0 +%%SHA2%%libexec/openldap/pw-sha2.so.0.0.0 %%SMBPWD%%libexec/openldap/smbk5pwd.la %%SMBPWD%%libexec/openldap/smbk5pwd.so %%SMBPWD%%libexec/openldap/smbk5pwd.so.0 +%%SMBPWD%%libexec/openldap/smbk5pwd.so.0.0.0 libexec/slapd man/man5/slapd-bdb.5.gz man/man5/slapd-config.5.gz |