diff options
author | steve <steve@FreeBSD.org> | 1998-02-20 08:43:40 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1998-02-20 08:43:40 +0800 |
commit | 4f8c94f7d2f5c77d00b378d2196b436f87659a18 (patch) | |
tree | 0f038bcecccf82fb20a8f1ea1c676aea36c7a1f0 | |
parent | 0d001efdb520b0e4852edea3ea07711ee3522e95 (diff) | |
download | freebsd-ports-gnome-4f8c94f7d2f5c77d00b378d2196b436f87659a18.tar.gz freebsd-ports-gnome-4f8c94f7d2f5c77d00b378d2196b436f87659a18.tar.zst freebsd-ports-gnome-4f8c94f7d2f5c77d00b378d2196b436f87659a18.zip |
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>
-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> |