pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sendmail, openssl and NetBSD 3.1



On Mon, 28 Apr 2008, Matthias Scheler wrote:

On Mon, Apr 28, 2008 at 03:41:54PM +0100, Stephen Borrill wrote:
[...]
This make no difference, bind9 is not built or linked against.

Does including "../../mk/pthread.buildlink3.mk" in
"pkgsrc/mail/sendmail/Makefile" help perhaps?

Note my update to pkg/38533.

openssl 0.9.8g assumes that the BSD support threading unlike 0.9.7i. Our package always sets the threads options, but prior to 0.9.8g this was ignored.

My workaround patch is:

--- security/openssl/Makefile   17 Jan 2008 06:42:47 -0000      1.131
+++ security/openssl/Makefile   29 Apr 2008 02:03:20 -0000
@@ -48,7 +48,13 @@
 CONFIGURE_ARGS+=       --prefix=${PREFIX:Q}
 CONFIGURE_ARGS+=       --install_prefix=${DESTDIR}
 CONFIGURE_ARGS+=       --openssldir=${PKG_SYSCONFDIR:Q}
-CONFIGURE_ARGS+=       shared threads
+CONFIGURE_ARGS+=       shared
+
+.if ${OPSYS} == "NetBSD"
+CONFIGURE_ARGS+=        no-threads
+.else
+CONFIGURE_ARGS+=       threads
+.endif

 .if ${OPSYS} == "SunOS"
 .  if ${MACHINE_ARCH} == "sparc"

I'd like this to be reviewed before I commit it as it may obviously have an impact on other users of openssl.

--
Stephen



Home | Main Index | Thread Index | Old Index