summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--www/mod_md-devel/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/www/mod_md-devel/Makefile b/www/mod_md-devel/Makefile
index f89e9e1ad49e..0893cda57fac 100644
--- a/www/mod_md-devel/Makefile
+++ b/www/mod_md-devel/Makefile
@@ -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>