aboutsummaryrefslogtreecommitdiff
path: root/security/opensc
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2005-04-20 12:42:06 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2005-04-20 12:42:06 +0000
commit384c2bae3b94d68ec15491eba4dc6c00acfb93ea (patch)
treefa1875a4f3aa5c20bbc367e43e857f6c786b914f /security/opensc
parent2a7193c97879226f0631d791aecbcac01770058f (diff)
downloadports-384c2bae3b94d68ec15491eba4dc6c00acfb93ea.tar.gz
ports-384c2bae3b94d68ec15491eba4dc6c00acfb93ea.zip
Notes
Diffstat (limited to 'security/opensc')
-rw-r--r--security/opensc/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/security/opensc/Makefile b/security/opensc/Makefile
index 5327e279d234..fd51ad1aa2c9 100644
--- a/security/opensc/Makefile
+++ b/security/opensc/Makefile
@@ -7,6 +7,7 @@
PORTNAME= opensc
PORTVERSION= 0.9.4
+PORTREVSION= 1
CATEGORIES= security devel
MASTER_SITES= http://www.opensc.org/files/
@@ -19,6 +20,7 @@ USE_OPENSSL= yes
USE_GMAKE= yes
USE_LIBTOOL_VER= 15
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
MANCOMPRESSED= no
MAN1= pkcs15-crypt.1 pkcs15-init.1 pkcs15-tool.1 opensc-tool.1 \
@@ -47,7 +49,7 @@ CONFIGURE_ARGS+= --with-pam
.endif
.if !defined(WITHOUT_PCSC_LITE)
-LIB_DEPENDS+= pcsclite.0:${PORTSDIR}/devel/pcsc-lite
+LIB_DEPENDS+= pcsclite.1:${PORTSDIR}/devel/pcsc-lite
CONFIGURE_ARGS+= --with-pcsclite=${LOCALBASE}
.endif
@@ -84,4 +86,9 @@ CONFIGURE_ARGS+= --without-docbook
CONFIGURE_ARGS+= --with-openct=${LOCALBASE}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+post-patch:
+ ${REINPLACE_CMD} -e "s,ulong,u_long," ${WRKSRC}/src/openscd/openscd.c
+
+.include <bsd.port.post.mk>