diff options
author | flo <flo@FreeBSD.org> | 2012-03-03 03:53:35 +0800 |
---|---|---|
committer | flo <flo@FreeBSD.org> | 2012-03-03 03:53:35 +0800 |
commit | a07d613438aa81123c59c710957d36529930621c (patch) | |
tree | 1117e41d566eb919edde1b98074a1ace63a5d456 /security | |
parent | b5ed3680ad371f4e511b9ff5d3610fee0bd30fa0 (diff) | |
download | freebsd-ports-gnome-a07d613438aa81123c59c710957d36529930621c.tar.gz freebsd-ports-gnome-a07d613438aa81123c59c710957d36529930621c.tar.zst freebsd-ports-gnome-a07d613438aa81123c59c710957d36529930621c.zip |
Just overwrite the link if it still exists. That way we are sure that the link
points to the correct file and there is no reason trying to protect the link as
it would be deleted on deinstall anyway.
Suggested by: dougb
Diffstat (limited to 'security')
-rw-r--r-- | security/ca_root_nss/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/security/ca_root_nss/Makefile b/security/ca_root_nss/Makefile index e1598a261c0d..04c1d644c264 100644 --- a/security/ca_root_nss/Makefile +++ b/security/ca_root_nss/Makefile @@ -63,8 +63,7 @@ do-install: ${MKDIR} ${PREFIX}/${CERTDIR} ${INSTALL_DATA} ${WRKDIR}/ca-root-nss.crt ${PREFIX}/${CERTDIR} .if !defined(WITHOUT_ETCSYMLINK) - ${TEST} -e /etc/ssl/cert.pem || \ - ${LN} -s ${PREFIX}/${CERTDIR}/ca-root-nss.crt /etc/ssl/cert.pem + ${LN} -sf ${PREFIX}/${CERTDIR}/ca-root-nss.crt /etc/ssl/cert.pem .endif .include <bsd.port.post.mk> |