pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/qca-tls Fix build on NetBSD 2.0 - configure s...
details: https://anonhg.NetBSD.org/pkgsrc/rev/27c5f6b3cee2
branches: trunk
changeset: 485719:27c5f6b3cee2
user: jdolecek <jdolecek%pkgsrc.org@localhost>
date: Sun Dec 19 09:29:16 2004 +0000
description:
Fix build on NetBSD 2.0 - configure script tried to link program with
libssl without linking also libcrypto, which fails on 2.0 since libssl
doesn't have recorded the libcrypto dependency; fix by disabling
the checkLibrary() call when QC_WITH_OPENSSL_LIB is supplied
PR: 28576
diffstat:
security/qca-tls/Makefile | 5 ++++-
security/qca-tls/distinfo | 3 ++-
security/qca-tls/patches/patch-aa | 15 +++++++++++++++
3 files changed, 21 insertions(+), 2 deletions(-)
diffs (48 lines):
diff -r b917980f32a1 -r 27c5f6b3cee2 security/qca-tls/Makefile
--- a/security/qca-tls/Makefile Sun Dec 19 05:45:39 2004 +0000
+++ b/security/qca-tls/Makefile Sun Dec 19 09:29:16 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2004/12/18 15:03:30 jdolecek Exp $
+# $NetBSD: Makefile,v 1.3 2004/12/19 09:29:16 jdolecek Exp $
DISTNAME= qca-tls-1.0
PKGREVISION= # empty
@@ -16,6 +16,9 @@
USE_X11= yes
HAS_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-openssl-inc=${SSLBASE}/include
+CONFIGURE_ARGS+= --with-openssl-lib=${SSLBASE}/lib
+
# XXX the -rpath filter is somewhat ugly, and this should be eventually
# fixed in NetBSD qmake template to not be necessary.
post-configure:
diff -r b917980f32a1 -r 27c5f6b3cee2 security/qca-tls/distinfo
--- a/security/qca-tls/distinfo Sun Dec 19 05:45:39 2004 +0000
+++ b/security/qca-tls/distinfo Sun Dec 19 09:29:16 2004 +0000
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/11/27 20:27:07 jdolecek Exp $
+$NetBSD: distinfo,v 1.2 2004/12/19 09:29:16 jdolecek Exp $
SHA1 (qca-tls-1.0.tar.bz2) = 775e764c5be342048eba11dae5c5fd3b636d23c5
Size (qca-tls-1.0.tar.bz2) = 23489 bytes
+SHA1 (patch-aa) = a584ccd423a621b57a17274e675d7ed5ee39c125
diff -r b917980f32a1 -r 27c5f6b3cee2 security/qca-tls/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/qca-tls/patches/patch-aa Sun Dec 19 09:29:16 2004 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1 2004/12/19 09:29:16 jdolecek Exp $
+
+--- configure.orig 2004-12-19 09:10:21.000000000 +0000
++++ configure 2004-12-19 09:20:50.000000000 +0000
+@@ -144,8 +144,10 @@
+
+ s = conf->getenv("QC_WITH_OPENSSL_LIB");
+ if(!s.isEmpty()) {
++ /*
+ if(!conf->checkLibrary(s, "ssl"))
+ return false;
++ */
+ lib = s;
+ }
+ else {
Home |
Main Index |
Thread Index |
Old Index