From owner-freebsd-ports@freebsd.org Mon Jun 26 18:55:53 2017 Return-Path: Delivered-To: freebsd-ports@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 7E152D8E762; Mon, 26 Jun 2017 18:55:53 +0000 (UTC) (envelope-from andre@drenet.net) Received: from anet3.andregoree.net (anet3.drenet.net [69.87.219.216]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 61CEA8419F; Mon, 26 Jun 2017 18:55:52 +0000 (UTC) (envelope-from andre@drenet.net) Received: from localhost (localhost [127.0.0.1]) by anet3.andregoree.net (Postfix) with ESMTP id 1D6D2DB3670; Mon, 26 Jun 2017 14:55:45 -0400 (EDT) Received: from anet3.andregoree.net ([127.0.0.1]) by localhost (anet3.andregoree.net [127.0.0.1]) (maiad, port 10024) with ESMTP id 68767-10; Mon, 26 Jun 2017 14:55:44 -0400 (EDT) Received: from mail.drenet.net (localhost [127.0.0.1]) (Authenticated sender: andre@drenet.net) by anet3.andregoree.net (Postfix) with ESMTPA id 40CAEDB34CC; Mon, 26 Jun 2017 14:55:44 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 26 Jun 2017 14:55:44 -0400 From: Andre Goree To: Dewayne Geraghty Cc: freebsd-ports@freebsd.org, owner-freebsd-ports@freebsd.org Subject: Re: NEW APR/APR-Utils In-Reply-To: <96a2704f-f59a-e16d-26cf-d796ead498db@heuristicsystems.com.au> References: <20170622130021.GB41229@doctor.nl2k.ab.ca> <96a2704f-f59a-e16d-26cf-d796ead498db@heuristicsystems.com.au> Message-ID: X-Sender: andre@drenet.net User-Agent: Roundcube Webmail/1.2.5 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2017 18:55:53 -0000 On 2017/06/22 9:43 pm, Dewayne Geraghty wrote: > Andre, > I've been down this path a few times and Bernard (who looks after > most/all? things related to libressl) does a great job in supporting > people like us that build our own packages. > > Out of frustration of build failures, I applied the patch below, please > pay attention to line-breaks. > > This isn't the best solution as the patches to individual ports as a > place holder until the upstream devs do things properly, is the best > course. I build 1057 ports (for server use only) successfully, > including > -rw-r--r-- 1 root wheel 473K Jun 18 19:21 > /usr/packages2/K8/All/apr-1.5.2.1.5.4_2.txz ; # libressl > > > Index: /usr/ports/security/libressl/Makefile > =================================================================== > --- /usr/ports/security/libressl/Makefile (revision 444004) > +++ /usr/ports/security/libressl/Makefile (working copy) > @@ -13,6 +13,7 @@ > LICENSE_FILE= ${WRKSRC}/COPYING > > CPE_VENDOR= openbsd > +CFLAGS+="-O3" > > OPTIONS_DEFINE= MAN3 NC > OPTIONS_DEFAULT= MAN3 NC > @@ -35,8 +36,17 @@ > INSTALL_TARGET= install-strip > TEST_TARGET= check > > +pre-configure: > +.if ${ARCH} == "amd64" > + @${REINPLACE_CMD} -e '/define > OPENSSL_VERSION_NUMBER/s|OPENSSL_VERSION_NUMBER.*|OPENSSL_VERSION_NUMBER > 0x100020bfL|1' ${WRKSRC}/include/openssl/opensslv.h > +.endif > + > +# pre-install: > post-install: > ${RM} -r ${STAGEDIR}/${PREFIX}/etc/ssl/cert.pem > +.if ${ARCH} == "amd64" > + @${REINPLACE_CMD} -e '/define > OPENSSL_VERSION_NUMBER/s|OPENSSL_VERSION_NUMBER.*|OPENSSL_VERSION_NUMBER > 0x100020bfL|1' ${STAGEDIR}${PREFIX}/include/openssl/opensslv.h > +.endif > > post-install-NC-on: > ${INSTALL_MAN} ${WRKSRC}/apps/nc/nc.1 > ${STAGEDIR}/${PREFIX}/man/man1/nc.1 > > This should get you over the hump. :) > Regards, Dewayne. > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to > "freebsd-ports-unsubscribe@freebsd.org" Though I'm late seeing this, thank you for this reply! I'll try out this patch -- Andre Goree -=-=-=-=-=- Email - andre at drenet.net Website - http://www.drenet.net PGP key - http://www.drenet.net/pubkey.txt -=-=-=-=-=-