aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAndrej Zverev <az@FreeBSD.org>2013-06-15 10:42:49 +0000
committerAndrej Zverev <az@FreeBSD.org>2013-06-15 10:42:49 +0000
commit90275df44af9d3d377ba3c7ea61e91fb147718db (patch)
tree262582542ab9a9ee17262d445939e5e0d4bf699d /net
parentbbf9646d3c01341fd96e4d75ab79d5c11b4483bc (diff)
downloadports-90275df44af9d3d377ba3c7ea61e91fb147718db.tar.gz
ports-90275df44af9d3d377ba3c7ea61e91fb147718db.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/nss_ldap/Makefile6
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