On Monday 28 January 2013 14.46.38 James Chapman wrote:

> 
> The build fails with a lot of cpp errors about /sys/include/ape/openssl/*.h
> 
> about unknown object type.
> 
> How can i exclude openssl from the build?
> 
> I'm assuming I won't be able to build it. I can put up with cpuing in to run
> the extra stuff I have installed.
> 
> I tried adding openssl to BUGGERED in /sys/src/cmd/mkfile but this didn't
> help.
> 
> James

specifically for this reason, I have repackaged a couple of ports and put "non 
core" packages/ports under /sys/src/pkg/$packagename. Because of this, my 
/sys/src/ape/lib is clean and I could without problems build for all supported 
architectures (could come in handy if I ever want to cross-compile one of my 
ports to another architecture) with "mk installall" - with one exception:
/sys/src/ape/lib/ap/mips/lock.c contained functions where the compiler 
complained about missing return values.

I have a tarball on my Plan9 machine where I repackaged fgb's openssl to put 
the sources in /sys/src/pkg/openssl (and 
added a #pragma lib to libssl and libcrypt in a header I think). 

My initial plan was to try to build a newer openssl but it was far too 
complicated (the tarball contains symlinks that disappear on Plan9 and 
Configure required Perl).

If you want I could upload this one.
for libz and libbz2 I can also offer updated ports
can be found at /n/sources/contrib/staal1978/pkg/

Reply via email to