diff options
author | gshapiro <gshapiro@FreeBSD.org> | 2001-04-01 22:54:15 +0000 |
---|---|---|
committer | gshapiro <gshapiro@FreeBSD.org> | 2001-04-01 22:54:15 +0000 |
commit | 52397444f0ac16454979b027b56bbff45ddbc7f6 (patch) | |
tree | 4473f79dfddf99735025cef8b466f85d65e2772d /etc | |
parent | 2e3ab926122b8c3077a700e37b968eda1f71c324 (diff) | |
download | FreeBSD-src-52397444f0ac16454979b027b56bbff45ddbc7f6.zip FreeBSD-src-52397444f0ac16454979b027b56bbff45ddbc7f6.tar.gz |
Allow users to override the default map type used for building maps.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/mail/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/mail/Makefile b/etc/mail/Makefile index c98825c..b04c73a 100644 --- a/etc/mail/Makefile +++ b/etc/mail/Makefile @@ -73,11 +73,13 @@ KILL?= /bin/kill # # The Makefile picks up the list of files from SENDMAIL_MAP_SRC and # stores the matching .db filenames in SENDMAIL_MAP_OBJ if the file -# exists in the current directory. +# exists in the current directory. SENDMAIL_MAP_TYPE is the database +# type to use when calling makemap. # SENDMAIL_MAP_SRC+= mailertable domaintable bitdomain uucpdomain \ genericstable virtusertable access SENDMAIL_MAP_OBJ= +SENDMAIL_MAP_TYPE?= hash .for _f in ${SENDMAIL_MAP_SRC} userdb .if exists(${_f}) @@ -95,7 +97,7 @@ ${_f}: ${_f}.sample .endif ${_f}.db: ${_f} - ${MAKEMAP} hash ${.TARGET} < ${.OODATE} + ${MAKEMAP} ${SENDMAIL_MAP_TYPE} ${.TARGET} < ${.OODATE} .endfor userdb.db: userdb |