Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Oct 2018 08:03:28 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r482651 - branches/2018Q4/www/httest
Message-ID:  <201810210803.w9L83S2B066558@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sun Oct 21 08:03:28 2018
New Revision: 482651
URL: https://svnweb.freebsd.org/changeset/ports/482651

Log:
  MFH: r482236
  
  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:
  branches/2018Q4/www/httest/Makefile
Directory Properties:
  branches/2018Q4/   (props changed)

Modified: branches/2018Q4/www/httest/Makefile
==============================================================================
--- branches/2018Q4/www/httest/Makefile	Sun Oct 21 08:01:50 2018	(r482650)
+++ branches/2018Q4/www/httest/Makefile	Sun Oct 21 08:03:28 2018	(r482651)
@@ -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?201810210803.w9L83S2B066558>