diff options
author | jdolecek <jdolecek@pkgsrc.org> | 2004-12-19 09:29:16 +0000 |
---|---|---|
committer | jdolecek <jdolecek@pkgsrc.org> | 2004-12-19 09:29:16 +0000 |
commit | 0cb264d340b476c3fff79430bef7a0f982dca54c (patch) | |
tree | 8975396f8a920d805521c886006c217c1113cff4 /security | |
parent | b9c5791d7469b70b5e959f87e6ca565ab9d6ea60 (diff) | |
download | pkgsrc-0cb264d340b476c3fff79430bef7a0f982dca54c.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')
-rw-r--r-- | security/qca-tls/Makefile | 5 | ||||
-rw-r--r-- | security/qca-tls/distinfo | 3 | ||||
-rw-r--r-- | security/qca-tls/patches/patch-aa | 15 |
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 { |