svn commit: r482236 - head/www/httest
Emanuel Haupt
ehaupt at FreeBSD.org
Tue Oct 16 16:58:32 UTC 2018
Author: ehaupt
Date: Tue Oct 16 16:58:31 2018
New Revision: 482236
URL: https://svnweb.freebsd.org/changeset/ports/482236
Log:
This port does not build with OpenSSL 1.1.1. Mark BROKEN for OSVERSION 1200085
and above while a solution is being sought. An upstream ticket has been
created.
Also pacify portlint by moving USES.
Notified by: pkg-fallout
Modified:
head/www/httest/Makefile
Modified: head/www/httest/Makefile
==============================================================================
--- head/www/httest/Makefile Tue Oct 16 16:56:33 2018 (r482235)
+++ head/www/httest/Makefile Tue Oct 16 16:58:31 2018 (r482236)
@@ -18,6 +18,11 @@ LIB_DEPENDS= libexpat.so:textproc/expat2 \
libpcre.so:devel/pcre \
libapr-1.so:devel/apr1
+USES= iconv lua libtool bdb ssl
+USE_LDCONFIG= yes
+
+GNU_CONFIGURE= yes
+
OPTIONS_DEFINE= EXAMPLES
CONFIGURE_ARGS= --enable-lua-module \
@@ -27,9 +32,6 @@ CONFIGURE_ARGS= --enable-lua-module \
--with-pcre="${LOCALBASE}/bin" \
--with-ssl="${OPENSSLLIB}"
CPPFLAGS+= -I${LUA_INCDIR}
-GNU_CONFIGURE= yes
-USES= iconv lua libtool bdb ssl
-USE_LDCONFIG= yes
PORTEXAMPLES= *
@@ -37,6 +39,15 @@ INSTALL_TARGET= install-strip
MAKE_JOBS_UNSAFE= yes
+.include <bsd.port.pre.mk>
+
+# Reported upstream:
+# https://sourceforge.net/p/htt/tickets/5/
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200085
+BROKEN= does not build with OpenSSL 1.1.1
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|`$$APR_CONFIG --cflags`||; s|-llua|-llua-${LUA_VER}|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' ${WRKSRC}/generate_modules_c.sh
@@ -47,4 +58,4 @@ post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.htt ${STAGEDIR}${EXAMPLESDIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
More information about the svn-ports-all
mailing list