diff options
author | flo <flo@FreeBSD.org> | 2012-02-28 07:35:11 +0800 |
---|---|---|
committer | flo <flo@FreeBSD.org> | 2012-02-28 07:35:11 +0800 |
commit | 44285a01b29dcd0d27f25a8be129aa590892b8e1 (patch) | |
tree | 38f3c438271ad026db6a1622e480f2358a0a710a /security/ca_root_nss | |
parent | e3fa487d70c7db56002fdca78f01ed2550e51908 (diff) | |
download | freebsd-ports-gnome-44285a01b29dcd0d27f25a8be129aa590892b8e1.tar.gz freebsd-ports-gnome-44285a01b29dcd0d27f25a8be129aa590892b8e1.tar.zst freebsd-ports-gnome-44285a01b29dcd0d27f25a8be129aa590892b8e1.zip |
make sure installation does not fail if for whatever reason the symlink in
/etc/ssl is still there on (re)install phase with ETCSYMLINK option set.
Submitted by: mi
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> |