From 2e860d4fc1e6c22c611291c4297ecb529dcb4bc8 Mon Sep 17 00:00:00 2001 From: tobez Date: Thu, 4 Oct 2007 18:28:41 +0000 Subject: Do not try to load libpcsclite.so of a specific version, any version should do. Bump PORTREVISION. Reported by: Johan van Selst --- devel/p5-PCSC-Card/Makefile | 1 + devel/p5-PCSC-Card/files/patch-PCSCperl.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'devel/p5-PCSC-Card') diff --git a/devel/p5-PCSC-Card/Makefile b/devel/p5-PCSC-Card/Makefile index 085d5187fba6..093dd8a1c73e 100644 --- a/devel/p5-PCSC-Card/Makefile +++ b/devel/p5-PCSC-Card/Makefile @@ -7,6 +7,7 @@ PORTNAME= PCSC-Card PORTVERSION= 1.4.6 +PORTREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= http://ludovic.rousseau.free.fr/softwares/pcsc-perl/ PKGNAMEPREFIX= p5- diff --git a/devel/p5-PCSC-Card/files/patch-PCSCperl.h b/devel/p5-PCSC-Card/files/patch-PCSCperl.h index ce8e740f2263..86be7d7a1b5e 100644 --- a/devel/p5-PCSC-Card/files/patch-PCSCperl.h +++ b/devel/p5-PCSC-Card/files/patch-PCSCperl.h @@ -10,7 +10,7 @@ +#include +#include +typedef void *DLL_HANDLE; -+#define LOAD_LIB() dlopen("libpcsclite.so.0", RTLD_LAZY) ++#define LOAD_LIB() dlopen("libpcsclite.so", RTLD_LAZY) +#define CLOSE_LIB(x) dlclose(x) +#define GET_FCT dlsym +#endif -- cgit