1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

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>
This commit is contained in:
Anton Berezin 2007-10-04 18:28:41 +00:00
parent c30cfeb507
commit 53568324f1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=200838
2 changed files with 2 additions and 1 deletions

View File

@ -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-

View File

@ -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