Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Oct 2018 16:58:31 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r482236 - head/www/httest
Message-ID:  <201810161658.w9GGwVC3012512@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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