diff options
author | gdt <gdt@pkgsrc.org> | 2014-03-17 18:21:42 +0000 |
---|---|---|
committer | gdt <gdt@pkgsrc.org> | 2014-03-17 18:21:42 +0000 |
commit | f993a371751f3aa30cf1cd218e8dc581aa005bd2 (patch) | |
tree | b00d322c36abb94a388a70c6c81097627fab9af8 /security/opensc | |
parent | 2b3b1a056cbf4d7397d8646cadb53cdcf3fab53d (diff) | |
download | pkgsrc-f993a371751f3aa30cf1cd218e8dc581aa005bd2.tar.gz |
Stop forcing pcsc-lite's library to be the libtool version.
opensc upstream has removed the use of ltdl. Thus, it is not longer
reasonable to expect it to be able to dlopen a .la file. So pass the
.so, not the .la, to configure, when using the pcsc-lite (default)
option. Resolves a failure of pkcs15-init to load modules.
Diffstat (limited to 'security/opensc')
-rw-r--r-- | security/opensc/Makefile | 3 | ||||
-rw-r--r-- | security/opensc/options.mk | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/security/opensc/Makefile b/security/opensc/Makefile index 05b3a6d2670..53f2af697c1 100644 --- a/security/opensc/Makefile +++ b/security/opensc/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.19 2014/03/14 20:49:56 gdt Exp $ +# $NetBSD: Makefile,v 1.20 2014/03/17 18:21:42 gdt Exp $ OPENSC_PKG_VERSION= 0.13.0 DISTNAME= opensc-${OPENSC_PKG_VERSION} +PKGREVISION= 1 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opensc/OpenSC/opensc-0.13.0/} diff --git a/security/opensc/options.mk b/security/opensc/options.mk index b653981d814..b336bad40b3 100644 --- a/security/opensc/options.mk +++ b/security/opensc/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.3 2012/12/03 20:23:15 gdt Exp $ +# $NetBSD: options.mk,v 1.4 2014/03/17 18:21:42 gdt Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.opensc @@ -13,7 +13,9 @@ PKG_SUGGESTED_OPTIONS= pcsc-lite .if !empty(PKG_OPTIONS:Mpcsc-lite) .include "../../security/pcsc-lite/buildlink3.mk" CONFIGURE_ARGS+= --enable-pcsc -CONFIGURE_ARGS+= --with-pcsc-provider=${BUILDLINK_PREFIX.pcsc-lite}/lib/libpcsclite.la +# While one might expect the libtool .la, ltdl support has been +# removed from opensc. +CONFIGURE_ARGS+= --with-pcsc-provider=${BUILDLINK_PREFIX.pcsc-lite}/lib/libpcsclite.so .else CONFIGURE_ARGS+= --disable-pcsc .endif |