NEW APR/APR-Utils
Andre Goree
andre at drenet.net
Mon Jun 26 18:55:53 UTC 2017
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 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to
> "freebsd-ports-unsubscribe at 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
-=-=-=-=-=-
More information about the freebsd-ports
mailing list