Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Aug 2017 09:57:14 +0000 (UTC)
From:      Bernard Spil <brnrd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r447977 - head/www/mod_md-devel
Message-ID:  <201708150957.v7F9vEiZ074414@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brnrd
Date: Tue Aug 15 09:57:14 2017
New Revision: 447977
URL: https://svnweb.freebsd.org/changeset/ports/447977

Log:
  www/mod_md-devel: Fix build failure on 10.x
  
   - This port requires OpenSSL 1.0.2+

Modified:
  head/www/mod_md-devel/Makefile

Modified: head/www/mod_md-devel/Makefile
==============================================================================
--- head/www/mod_md-devel/Makefile	Tue Aug 15 09:01:20 2017	(r447976)
+++ head/www/mod_md-devel/Makefile	Tue Aug 15 09:57:14 2017	(r447977)
@@ -31,15 +31,20 @@ MODULENAME=	${GH_PROJECT}
 CFLAGS+=	-I${LOCALBASE}/include
 CPPFLAGS+=	-I${LOCALBASE}/include
 
-#DOCSDIR=	share/docs/mod_md
 PORTDOCS=	README README.md
 PLIST_FILES=	${APACHEMODDIR}/mod_md.so.0.0.0 \
 		${APACHEMODDIR}/mod_md.so
 
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100085 && ${SSL_DEFAULT} == base
+IGNORE=		This port requires OpenSSL 1.0.2 or later, set DEFAULT_VERSIONS+= ssl=openssl
+.endif
+
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/${MODULENAME}.so
 	${MV} ${STAGEDIR}${PREFIX}/share/doc/mod_cert ${STAGEDIR}${PREFIX}/share/doc/mod_md-devel
 	${RM} ${STAGEDIR}${PREFIX}/share/doc/mod_md-devel/LICENSE
 	${RM} ${STAGEDIR}${PREFIX}/bin/ext-a2md
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



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