summaryrefslogtreecommitdiff
path: root/security/qca-tls
diff options
context:
space:
mode:
authorjdolecek <jdolecek>2004-12-19 09:29:16 +0000
committerjdolecek <jdolecek>2004-12-19 09:29:16 +0000
commit03700bb22ef7cb77d613ecaabb870e27ce9b0e21 (patch)
tree8975396f8a920d805521c886006c217c1113cff4 /security/qca-tls
parent813b336d74050551658da7f6d0ecbc9c48db3278 (diff)
downloadpkgsrc-03700bb22ef7cb77d613ecaabb870e27ce9b0e21.tar.gz
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 (limited to 'security/qca-tls')
-rw-r--r--security/qca-tls/Makefile5
-rw-r--r--security/qca-tls/distinfo3
-rw-r--r--security/qca-tls/patches/patch-aa15
3 files changed, 21 insertions, 2 deletions
diff --git a/security/qca-tls/Makefile b/security/qca-tls/Makefile
index a587397b90f..d87fdd20fc6 100644
--- a/security/qca-tls/Makefile
+++ b/security/qca-tls/Makefile
@@ -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_LIBTOOL= yes
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 --git a/security/qca-tls/distinfo b/security/qca-tls/distinfo
index c74598bed34..5f29af41f80 100644
--- a/security/qca-tls/distinfo
+++ b/security/qca-tls/distinfo
@@ -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 --git a/security/qca-tls/patches/patch-aa b/security/qca-tls/patches/patch-aa
new file mode 100644
index 00000000000..8f25050fb3e
--- /dev/null
+++ b/security/qca-tls/patches/patch-aa
@@ -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 {