nginx is not linking against libressl

Sergey A. Osokin osa at FreeBSD.org
Thu May 11 00:42:02 UTC 2017


On Wed, May 10, 2017 at 11:13:05PM +0000, Sergey A. Osokin wrote:
> On Wed, May 10, 2017 at 10:56:26PM +0000, Sergey A. Osokin wrote:
> > On Wed, May 10, 2017 at 04:04:52PM -0600, Adam Weinberger wrote:
> > > > On 10 May, 2017, at 15:51, Sergey A. Osokin <osa at FreeBSD.org> wrote:
> > > > 
> > > > can't reproduce it on my laptop with FreeBSD 11.0-STABLE #5: Sun Apr 16.
> > > > Would you mind to raise a problem report with details, i.e. OS version,
> > > > ident Makefile, config.log, etc.
> > > > 
> > > > Thanks in advance.
> > > 
> > > Sergey -
> > > 
> > > Set DEFAULT_VERSIONS= ssl=libressl, and then turn off the IPV6 option in nginx. It's reproducible for me.
> > 
> > Got it, thanks Adam for the point, looks like a regression.

Patch.
 
-- 
Sergey Osokin
osa at FreeBSD.org
-------------- next part --------------
Index: Makefile
===================================================================
--- Makefile	(revision 440609)
+++ Makefile	(working copy)
@@ -3,7 +3,7 @@
 
 PORTNAME=	nginx
 PORTVERSION=	1.12.0
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	2
 CATEGORIES=	www
 MASTER_SITES=	http://nginx.org/download/
@@ -307,7 +307,7 @@
 .endif
 
 .if empty(PORT_OPTIONS:MIPV6)
-CONFIGURE_ARGS+=--with-cc-opt="-DNGX_HAVE_INET6=0"
+CONFIGURE_ARGS+=--with-cc-opt="-DNGX_HAVE_INET6=0 -I ${LOCALBASE}/include"
 .else
 CATEGORIES+=	ipv6
 .endif


More information about the freebsd-ports mailing list