Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jun 2017 21:29:40 -0600
From:      The Doctor <doctor@doctor.nl2k.ab.ca>
To:        Dewayne Geraghty <dewayne.geraghty@heuristicsystems.com.au>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: NEW APR/APR-Utils
Message-ID:  <20170623032940.GA85792@doctor.nl2k.ab.ca>
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 Fri, Jun 23, 2017 at 11:43:14AM +1000, 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.

Will this work for the 1.6.X ?

> _______________________________________________
> 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"

-- 
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising!
https://www.empire.kred/ROOTNK?t=94a1f39b  Look at Psalms 14 and 53 on Atheism
Talk Sense to a fool and he calls you foolish - Euripides



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170623032940.GA85792>