Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Oct 2013 20:45:09 +0000 (UTC)
From:      Florian Smeets <flo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r331531 - head/security/ca_root_nss
Message-ID:  <201310242045.r9OKj9s9030366@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: flo
Date: Thu Oct 24 20:45:09 2013
New Revision: 331531
URL: http://svnweb.freebsd.org/changeset/ports/331531

Log:
  - fix stage conversion in the ETCSYMLINK case
  - move the check to post-install
  
  Reported by:	ak

Modified:
  head/security/ca_root_nss/Makefile

Modified: head/security/ca_root_nss/Makefile
==============================================================================
--- head/security/ca_root_nss/Makefile	Thu Oct 24 20:24:08 2013	(r331530)
+++ head/security/ca_root_nss/Makefile	Thu Oct 24 20:45:09 2013	(r331531)
@@ -2,6 +2,7 @@
 
 PORTNAME=	ca_root_nss
 PORTVERSION=	${VERSION_NSS}
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	MOZILLA/security/nss/releases/${DISTNAME:U:C/[-.]/_/g}_RTM/src
 DISTNAME=	nss-${VERSION_NSS}${NSS_SUFFIX}
@@ -55,8 +56,11 @@ do-build:	apply-slist
 do-install:
 	${MKDIR} ${STAGEDIR}${PREFIX}/${CERTDIR}
 	${INSTALL_DATA} ${WRKDIR}/ca-root-nss.crt ${STAGEDIR}${PREFIX}/${CERTDIR}
+
+post-install:
 .if ${PORT_OPTIONS:METCSYMLINK}
-	${LN} -sf ${STAGEDIR}${PREFIX}/${CERTDIR}/ca-root-nss.crt /etc/ssl/cert.pem
+	${MKDIR} ${STAGEDIR}/etc/ssl
+	${LN} -sf ${PREFIX}/${CERTDIR}/ca-root-nss.crt ${STAGEDIR}/etc/ssl/cert.pem
 .endif
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310242045.r9OKj9s9030366>