From 8ef23c6540be29f8925888a39a0c85f921d60c44 Mon Sep 17 00:00:00 2001 From: kuriyama Date: Sat, 29 Sep 2001 01:15:23 +0000 Subject: Support latest -current which has no libskey.2. No response from: maintainer --- security/sudo/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'security/sudo') 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 + +.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 +.include -- cgit v1.1