diff options
Diffstat (limited to 'net/powerdns/files/configure.powerdns')
-rw-r--r-- | net/powerdns/files/configure.powerdns | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/net/powerdns/files/configure.powerdns b/net/powerdns/files/configure.powerdns index e41c817d67e2..02545a440be8 100644 --- a/net/powerdns/files/configure.powerdns +++ b/net/powerdns/files/configure.powerdns @@ -2,7 +2,7 @@ # # $FreeBSD$ # -if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then +if [ -f ${WRKDIRPREFIX}${CURDIR2}/Makefile.inc ]; then exit fi @@ -11,9 +11,10 @@ if [ "${POWERDNS_OPTIONS}" ]; then else dialog --title "configuration options" --clear \ --checklist "\n\ -Please select desired options:" -1 -1 2 \ +Please select desired options:" -1 -1 3 \ PostgreSQL "PostgreSQL driver" ON \ MySQL "MySQL driver" OFF \ +OpenLDAP "OpenLDAP backend" OFF \ 2> /tmp/checklist.tmp.$$ retval=$? @@ -33,8 +34,8 @@ MySQL "MySQL driver" OFF \ esac fi -${MKDIR} ${WRKDIRPREFIX}${CURDIR} -exec > ${WRKDIRPREFIX}${CURDIR}/Makefile.inc +${MKDIR} ${WRKDIRPREFIX}${CURDIR2} +exec > ${WRKDIRPREFIX}${CURDIR2}/Makefile.inc while [ "$1" ]; do case $1 in @@ -44,11 +45,14 @@ while [ "$1" ]; do \"MySQL\") echo WITH_MYSQL_DRIVER=YES ;; + \"OpenLDAP\") + echo WITH_LDAP=YES + ;; \"nothing\"|true) ;; *) echo "Invalid option(s): $*" > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + rm -f ${WRKDIRPREFIX}${CURDIR2}/Makefile.inc exit 1 ;; esac |