summaryrefslogtreecommitdiffstats
path: root/security/sudo
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2001-09-29 01:15:23 +0000
committerkuriyama <kuriyama@FreeBSD.org>2001-09-29 01:15:23 +0000
commit8ef23c6540be29f8925888a39a0c85f921d60c44 (patch)
treef2ea178924d5f062058c60178395c03aa38fd02a /security/sudo
parentd29378c0ae7929b8a8f0686c2f68fd1d49b9c621 (diff)
downloadFreeBSD-ports-8ef23c6540be29f8925888a39a0c85f921d60c44.zip
FreeBSD-ports-8ef23c6540be29f8925888a39a0c85f921d60c44.tar.gz
Support latest -current which has no libskey.2.
No response from: maintainer
Diffstat (limited to 'security/sudo')
-rw-r--r--security/sudo/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index 4155322..94b6a34 100644
--- a/security/sudo/Makefile
+++ b/security/sudo/Makefile
@@ -30,7 +30,9 @@ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \
--with-long-otp-prompt \
--with-pam
-.ifdef(WITH_OPIE)
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_OPIE) || ${OSVERSION} > 500021
CONFIGURE_ARGS+=--with-opie
.else
CONFIGURE_ARGS+=--with-skey
@@ -45,4 +47,4 @@ post-patch:
post-install:
${INSTALL_DATA} ${WRKSRC}/sample.sudoers ${PREFIX}/etc/sudoers.sample
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud