aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-PCSC-Card
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2007-10-05 02:28:41 +0800
committertobez <tobez@FreeBSD.org>2007-10-05 02:28:41 +0800
commit2e860d4fc1e6c22c611291c4297ecb529dcb4bc8 (patch)
tree209fbd7f7e6f38fb7984bf89a1484611a2dfaefc /devel/p5-PCSC-Card
parentcdd6980f6d5f7fbc7c20c88f6c2ad8450500e95f (diff)
downloadfreebsd-ports-gnome-2e860d4fc1e6c22c611291c4297ecb529dcb4bc8.tar.gz
freebsd-ports-gnome-2e860d4fc1e6c22c611291c4297ecb529dcb4bc8.tar.zst
freebsd-ports-gnome-2e860d4fc1e6c22c611291c4297ecb529dcb4bc8.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>
Diffstat (limited to 'devel/p5-PCSC-Card')
-rw-r--r--devel/p5-PCSC-Card/Makefile1
-rw-r--r--devel/p5-PCSC-Card/files/patch-PCSCperl.h2
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