diff options
author | Anton Berezin <tobez@FreeBSD.org> | 2007-10-04 18:28:41 +0000 |
---|---|---|
committer | Anton Berezin <tobez@FreeBSD.org> | 2007-10-04 18:28:41 +0000 |
commit | 53568324f1f4facb76a1cbbfaf509caeedea5fb1 (patch) | |
tree | 4e0cb58dae3dda50623265fc3c03bb443d9e5fae /devel/p5-PCSC-Card | |
parent | c30cfeb507665080be79c2d9cbed04b93bd8b1c4 (diff) | |
download | ports-53568324f1f4facb76a1cbbfaf509caeedea5fb1.tar.gz ports-53568324f1f4facb76a1cbbfaf509caeedea5fb1.zip |
Do not try to load libpcsclite.so of a specific version,
any version should do. Bump PORTREVISION.
Reported by: Johan van Selst <johans@stack.nl>
Notes
Notes:
svn path=/head/; revision=200838
Diffstat (limited to 'devel/p5-PCSC-Card')
-rw-r--r-- | devel/p5-PCSC-Card/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-PCSC-Card/files/patch-PCSCperl.h | 2 |
2 files changed, 2 insertions, 1 deletions
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 <pcsclite.h> +#include <stdio.h> +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 |