diff --git a/security/sudo/Makefile b/security/sudo/Makefile index 33eee1c43db9..ffa8a654fcae 100644 --- a/security/sudo/Makefile +++ b/security/sudo/Makefile @@ -17,8 +17,7 @@ MAINTAINER= mharo@FreeBSD.org GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-skey \ - --sysconfdir=${PREFIX}/etc \ +CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \ --disable-log-wrap \ --with-ignore-dot \ --with-tty-tickets \ @@ -28,6 +27,13 @@ CONFIGURE_ARGS= --with-skey \ --with-logincap \ --disable-root-sudo +.ifdef(WITH_OPIE) +CONFIGURE_ARGS+=--with-opie \ + --with-long-otp-prompt +.else +CONFIGURE_ARGS+=--with-skey +.endif + MAN5= sudoers.5 MAN8= sudo.8 visudo.8