Created
January 10, 2026 10:05
-
-
Save mat813/86de9744c8a96e3515e9a3b768b08216 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .if empty(FLAVOR) | |
| FLAVOR= normal | |
| .endif | |
| CONFIGURE_ARGS+= --enable-full-report | |
| .if defined(BIND_TOOLS_SLAVE) | |
| FLAVORS= normal small huge ${OPTIONS_SINGLE_GSSAPI:NGSSAPI_NONE:tl} | |
| . if ${FLAVOR} == small | |
| OPTIONS_UNSET_FORCE= ${OPTIONS_DEFINE} ${OPTIONS_MULTI_STATS} | |
| . elif ${FLAVOR} == huge | |
| OPTIONS_SET_FORCE= ${OPTIONS_DEFINE} ${OPTIONS_RADIO_CRYPTO} | |
| . elif ${FLAVOR:Mgssapi*} | |
| OPTIONS_UNSET_FORCE= GSSAPI_NONE | |
| OPTIONS_SET_FORCE= ${FLAVOR:tu} | |
| . endif | |
| .else | |
| FLAVORS= normal small huge nativepkcs11 ${OPTIONS_SINGLE_GSSAPI:NGSSAPI_NONE:tl} | |
| . if ${FLAVOR} == small | |
| OPTIONS_UNSET_FORCE= ${OPTIONS_DEFINE} ${OPTIONS_GROUP_STATS} | |
| . elif ${FLAVOR} == huge | |
| OPTIONS_SET_FORCE= ${OPTIONS_DEFINE} ${OPTIONS_RADIO_CRYPTO} | |
| . elif ${FLAVOR} == nativepkcs11 | |
| OPTIONS_SET_FORCE= NATIVE_PKCS11 | |
| . elif ${FLAVOR:Mgssapi*} | |
| OPTIONS_UNSET_FORCE= GSSAPI_NONE | |
| OPTIONS_SET_FORCE= ${FLAVOR:tu} | |
| . endif | |
| regen-patches: | |
| cd ${.CURDIR} ; \ | |
| make clean ; \ | |
| mv files/extrapatch-no-bind-tools files/patch-no-bind-tools ; \ | |
| mv files/extrapatch-bind-min-override-ttl files/patch-bind-min-override-ttl ; \ | |
| make extract do-patch makepatch BATCH= NO_IGNORE= PATCH_DEBUG=yes EXTRA_PATCHES= || : ; \ | |
| mv files/patch-no-bind-tools files/extrapatch-no-bind-tools ; \ | |
| mv files/patch-bind-min-override-ttl files/extrapatch-bind-min-override-ttl | |
| cd ${.CURDIR} ; \ | |
| mv files/extrapatch-bind-tools files/patch-bind-tools ; \ | |
| (cd ../bind-tools ; \ | |
| make clean extract do-patch makepatch BATCH= NO_IGNORE= PATCH_DEBUG=yes EXTRA_PATCHES= MASTERDIR=$$PWD/../bind920 || :) ; \ | |
| mv files/patch-bind-tools files/extrapatch-bind-tools | |
| .endif | |
| .if ${FLAVOR} != normal | |
| PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-${FLAVOR} | |
| .endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment