Date: Mon, 26 Jun 2017 14:55:44 -0400 From: Andre Goree <andre@drenet.net> To: Dewayne Geraghty <dewayne.geraghty@heuristicsystems.com.au> Cc: freebsd-ports@freebsd.org, owner-freebsd-ports@freebsd.org Subject: Re: NEW APR/APR-Utils Message-ID: <cb35bbe6f5856e7749aeb4ea1c28aca4@drenet.net> In-Reply-To: <96a2704f-f59a-e16d-26cf-d796ead498db@heuristicsystems.com.au> References: <20170622130021.GB41229@doctor.nl2k.ab.ca> <cee5e89b6b6cfea0645df4d1ccb04f67@drenet.net> <96a2704f-f59a-e16d-26cf-d796ead498db@heuristicsystems.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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 -=-=-=-=-=-
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cb35bbe6f5856e7749aeb4ea1c28aca4>