aboutsummaryrefslogtreecommitdiff
path: root/security/sudo/Makefile
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2001-09-29 01:15:23 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2001-09-29 01:15:23 +0000
commit867e83b9e50a9b4d812010adbb967ad12618df45 (patch)
treed889095577de387c0f3a8ea067f726f82612d0c3 /security/sudo/Makefile
parent3e0bdb766e1bd0344ed39f09663954d44f273b2d (diff)
downloadports-867e83b9e50a9b4d812010adbb967ad12618df45.tar.gz
ports-867e83b9e50a9b4d812010adbb967ad12618df45.zip
Notes
Diffstat (limited to 'security/sudo/Makefile')
-rw-r--r--security/sudo/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index 415532288ac2..94b6a348b9c2 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>