From owner-svn-ports-all@freebsd.org Sun Oct 30 16:25:17 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 24D37C26082; Sun, 30 Oct 2016 16:25:17 +0000 (UTC) (envelope-from adamw@adamw.org) Received: from anoxia.adamw.org (anoxia.adamw.org [104.225.8.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "anoxia.adamw.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7FD79115F; Sun, 30 Oct 2016 16:25:16 +0000 (UTC) (envelope-from adamw@adamw.org) Received: by anoxia.adamw.org (OpenSMTPD) with ESMTPSA id cc9413c6 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Sun, 30 Oct 2016 10:25:07 -0600 (MDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: Re: svn commit: r424949 - head/security/acme-client From: Adam Weinberger In-Reply-To: <201610301516.u9UFG1FZ093325@repo.freebsd.org> Date: Sun, 30 Oct 2016 10:25:06 -0600 Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <58CE59D0-FDEA-444D-8DB0-6DF94FCB8FCA@adamw.org> References: <201610301516.u9UFG1FZ093325@repo.freebsd.org> To: Bernard Spil X-Mailer: Apple Mail (2.3251) X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Oct 2016 16:25:17 -0000 > On 30 Oct, 2016, at 9:16, Bernard Spil wrote: >=20 > Author: brnrd > Date: Sun Oct 30 15:16:01 2016 > New Revision: 424949 > URL: https://svnweb.freebsd.org/changeset/ports/424949 >=20 > Log: > security/acme-client: Fix CONFLICT errors when OpenSSL is installed >=20 > - As reported for OpenNTPd >=20 > PR: 213691 > Reported by: Simeon Simeonov >=20 > Modified: > head/security/acme-client/Makefile >=20 > Modified: head/security/acme-client/Makefile > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- head/security/acme-client/Makefile Sun Oct 30 15:13:27 2016 = (r424948) > +++ head/security/acme-client/Makefile Sun Oct 30 15:16:01 2016 = (r424949) > @@ -14,7 +14,7 @@ COMMENT=3D Native C client for Let's Encry >=20 > LICENSE=3D ISCL >=20 > -USES=3D gmake ssl tar:tgz > +USES=3D gmake tar:tgz >=20 > MAKEFILE=3D GNUmakefile > MAKE_ENV=3D PREFIX=3D${STAGEDIR}/${PREFIX} > @@ -47,10 +47,12 @@ post-install: >=20 > .include >=20 > -.if ! ${SSL_DEFAULT:Mlibressl*} > -BUILD_DEPENDS+=3D ${NONEXISTENT}:security/libressl:stage > -CPPFLAGS+=3D -I${WRKDIR}/libressl/include > -LDFLAGS+=3D -L${WRKDIR}/libressl/lib > +.if ${SSL_DEFAULT:Mlibressl*} > +USES+=3D ssl > +.else > +BUILD_DEPENDS+=3D ${NONEXISTENT}:security/libressl:stage > +CPPFLAGS+=3D -I${WRKDIR}/libressl/include > +LDFLAGS+=3D -L${WRKDIR}/libressl/lib > . ifnmake describe > STAGEDIR_libressl!=3D ${MAKE} -V STAGEDIR -C = ${PORTSDIR}/security/libressl > . endif >=20 Hi Bernard, This doesn't work if SSL_DEFAULT is LibreSSL. I don't think USES=3Dssl = can be set after bsd.port.pre.mk: cc -O2 -pipe -fstack-protector -fno-strict-aliasing -g -W -Wall = -DHAVE_CONFIG_H -I/usr/local/include -c -o keyproc.o keyproc.c http.c:34:10: fatal error: 'tls.h' file not found #include ^ 1 error generated. gmake[1]: *** [: http.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... gmake[1]: Leaving directory = '/wrkdirs/usr/ports/security/acme-client/work/acme-client-portable-0.1.11'= =3D=3D=3D> Compilation failed unexpectedly. # Adam --=20 Adam Weinberger adamw@adamw.org http://www.adamw.org