diff options
Diffstat (limited to 'net/nss_ldap/Makefile')
-rw-r--r-- | net/nss_ldap/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/nss_ldap/Makefile b/net/nss_ldap/Makefile index 1041cb6dec95..eb98389beb74 100644 --- a/net/nss_ldap/Makefile +++ b/net/nss_ldap/Makefile @@ -75,9 +75,9 @@ do-install: ${INSTALL_MAN} ${WRKSRC}/${MAN5} ${MAN5PREFIX}/man/man5 post-install: -.if !exists(${PREFIX}/etc/nss_ldap.conf) - ${CP} -p ${PREFIX}/etc/nss_ldap.conf.sample ${PREFIX}/etc/nss_ldap.conf -.endif + @if [ ! -f ${PREFIX}/etc/nss_ldap.conf ]; then \ + ${CP} -pv ${PREFIX}/etc/nss_ldap.conf.sample ${PREFIX}/etc/nss_ldap.conf ; \ + fi .if !defined(PACKAGE_BUILDING) @${CAT} ${PKGMESSAGE} .endif |