diff options
Diffstat (limited to 'security/ca_root_nss')
-rw-r--r-- | security/ca_root_nss/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/security/ca_root_nss/Makefile b/security/ca_root_nss/Makefile index 4ab9bbdd4ec4..e1598a261c0d 100644 --- a/security/ca_root_nss/Makefile +++ b/security/ca_root_nss/Makefile @@ -63,7 +63,8 @@ do-install: ${MKDIR} ${PREFIX}/${CERTDIR} ${INSTALL_DATA} ${WRKDIR}/ca-root-nss.crt ${PREFIX}/${CERTDIR} .if !defined(WITHOUT_ETCSYMLINK) - ${LN} -s ${PREFIX}/${CERTDIR}/ca-root-nss.crt /etc/ssl/cert.pem + ${TEST} -e /etc/ssl/cert.pem || \ + ${LN} -s ${PREFIX}/${CERTDIR}/ca-root-nss.crt /etc/ssl/cert.pem .endif .include <bsd.port.post.mk> |