summaryrefslogtreecommitdiff
path: root/security/pam_pkcs11
diff options
context:
space:
mode:
Diffstat (limited to 'security/pam_pkcs11')
-rw-r--r--security/pam_pkcs11/Makefile8
-rw-r--r--security/pam_pkcs11/files/patch-configure.ac10
2 files changed, 12 insertions, 6 deletions
diff --git a/security/pam_pkcs11/Makefile b/security/pam_pkcs11/Makefile
index 826e08c465dd..80a072b82235 100644
--- a/security/pam_pkcs11/Makefile
+++ b/security/pam_pkcs11/Makefile
@@ -12,7 +12,7 @@ LICENSE= LGPL21
RUN_DEPENDS= bash:shells/bash
-USES= autoreconf gmake libtool pkgconfig shebangfix
+USES= autoreconf gettext-tools gmake libtool pkgconfig shebangfix
USE_GITHUB= yes
GH_ACCOUNT= OpenSC
@@ -22,7 +22,6 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-confdir=${ETCDIR}
CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \
OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto"
-GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
SHEBANG_FILES= tools/pkcs11_make_hash_link
@@ -50,7 +49,7 @@ PCSC_CONFIGURE_WITH= pcsclite
SSL_USES= ssl
NLS_CONFIGURE_ENABLE= nls
-NLS_USES= gettext
+NLS_USES= gettext-runtime
DOCS_CONFIGURE_ENABLE= doc
@@ -94,7 +93,4 @@ post-patch:
@${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' \
${WRKSRC}/doc/pam_pkcs11.8.in
-pre-configure:
- @(cd ${WRKSRC} && ./bootstrap)
-
.include <bsd.port.mk>
diff --git a/security/pam_pkcs11/files/patch-configure.ac b/security/pam_pkcs11/files/patch-configure.ac
new file mode 100644
index 000000000000..042b4516b3c1
--- /dev/null
+++ b/security/pam_pkcs11/files/patch-configure.ac
@@ -0,0 +1,10 @@
+--- configure.ac.orig 2021-05-31 18:18:38 UTC
++++ configure.ac
+@@ -5,6 +5,7 @@ AC_INIT([pam_pkcs11],[0.6.12])
+
+ # Process this file with autoconf to produce a configure script.
+ AC_INIT([pam_pkcs11],[0.6.12])
++AC_CONFIG_MACRO_DIRS([aclocal])
+ AC_CONFIG_SRCDIR([src/pam_pkcs11/pam_pkcs11.c])
+ AC_CANONICAL_HOST
+ AM_INIT_AUTOMAKE