diff options
author | Steve Price <steve@FreeBSD.org> | 1998-02-20 00:43:40 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1998-02-20 00:43:40 +0000 |
commit | 3a31f70e629ddc343f21e144051003494012c3ed (patch) | |
tree | bc455507c444913b4af94f03b78ee1b7764e38ed /www | |
parent | `wishpath' was incorrectly specified. (diff) |
Instead of using ssleay.cnf.sample warn the user that they must
first create ssleay.cnf before 'make certificate' will work.
Suggested by: Mark Murray <mark@grondar.za>
Notes
Notes:
svn path=/head/; revision=9842
Diffstat (limited to 'www')
-rw-r--r-- | www/apache13-ssl/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/www/apache13-ssl/Makefile b/www/apache13-ssl/Makefile index 91fdb473fea3..fcc2dc0c2a7c 100644 --- a/www/apache13-ssl/Makefile +++ b/www/apache13-ssl/Makefile @@ -3,7 +3,7 @@ # Date created: 15th August 1997 # Whom: Mark Murray <mark@grondar.za> # -# $Id: Makefile,v 1.42 1998/02/17 12:52:26 markm Exp $ +# $Id: Makefile,v 1.43 1998/02/17 21:16:02 markm Exp $ DISTNAME= apache_1.2.5 PKGNAME= apacheSSL-1.2.5 @@ -78,7 +78,11 @@ pre-build: .endif certificate: - cd ${WRKSRC}; ${MAKE} ${MAKE_ENV} $@ - ${CP} ${WRKSRC}/SSLconf/conf/httpsd.pem ${PREFIX}/certs/cert.pem + @if [ -f ${PREFIX}/etc/ssleay.cnf ]; then \ + cd ${WRKSRC}; ${MAKE} ${MAKE_ENV} $@; \ + ${CP} ${WRKSRC}/SSLconf/conf/httpsd.pem ${PREFIX}/certs/cert.pem; \ + else \ + ${ECHO} "You must create the file ${PREFIX}/etc/ssleay.cnf first."; \ + fi .include <bsd.port.mk> |