diff options
author | lioux <lioux@FreeBSD.org> | 2001-12-21 13:35:24 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2001-12-21 13:35:24 +0800 |
commit | ccfb0b00a1bbee3528e7ec60d1272e9ef1d605d4 (patch) | |
tree | 0a91a12c1de625e66944250a527d02ab67e4fafc /mail | |
parent | 24bf05ae3a3fd8d85f68dab534dd222cb1c69f1d (diff) | |
download | freebsd-ports-gnome-ccfb0b00a1bbee3528e7ec60d1272e9ef1d605d4.tar.gz freebsd-ports-gnome-ccfb0b00a1bbee3528e7ec60d1272e9ef1d605d4.tar.zst freebsd-ports-gnome-ccfb0b00a1bbee3528e7ec60d1272e9ef1d605d4.zip |
Add Dynamic Relay Authorization Control (DRAC) support. Can be enabled WITH_DRAC
PR: 32790
Submitted by: Norikatsu Shigemura <nork@cityfujisawa.ne.jp>
Diffstat (limited to 'mail')
-rw-r--r-- | mail/qpopper/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/mail/qpopper/Makefile b/mail/qpopper/Makefile index b9bd9c8a699e..b82abd851fec 100644 --- a/mail/qpopper/Makefile +++ b/mail/qpopper/Makefile @@ -26,7 +26,7 @@ MAINTAINER= lioux@FreeBSD.org USE_AUTOCONF= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= LIBS="-lmd -lutil" \ +CONFIGURE_ENV= LIBS="-lmd -lutil -L${LOCALBASE}/lib" \ OS_DEFS="-DSETPROCTITLE ${OS_DEFS}" CONFIGURE_ARGS= --enable-apop=${PREFIX}/etc/qpopper/pop.auth \ --enable-nonauth-file=${POPUSERS_FILE} \ @@ -68,6 +68,8 @@ pre-everything:: @${ECHO_MSG} "You may use the following build options:" @${ECHO_MSG} "" @${ECHO_MSG} "WITH_APOP_ONLY=yes builds with APOP authentication only" + @${ECHO_MSG} "WITH_DRAC=yes builds with Dynamic Relay Authorization" + @${ECHO_MSG} " Control support" @${ECHO_MSG} "WITH_FULL_POPD_DEBUG=yes buils with more verbose debugging" @${ECHO_MSG} "WITH_POPPASSD=yes builds the poppassd daemon" @${ECHO_MSG} "WITH_SAMPLE_POPUSERS_FILE=yes builds a default (otherwise," @@ -79,6 +81,13 @@ pre-everything:: OS_DEFS+= -DAPOP_ONLY .endif +# If WITH_DRAC variable present in the environment, qpopper builds +# with Dynamic Relay Authorization Control support +.if defined(WITH_DRAC) +CONFIGURE_ARGS+= --with-drac +BUILD_DEPENDS+= ${LOCALBASE}/lib/libdrac.a:${PORTSDIR}/mail/drac +.endif + # If WITH_FULL_POPD_DEBUG variable present in the environment, qpopper builds # with more verbose debugging. See also -d option to qpopper .if defined(FULL_POPD_DEBUG) || defined(WITH_FULL_POPD_DEBUG) |