diff options
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index e43b781..8b84a96 100755 --- a/debian/rules +++ b/debian/rules @@ -86,7 +86,6 @@ CONFFLAGS = \ -Dlink-udev-shared=false \ -Dlink-systemctl-shared=false \ -Dntp-servers="$(DEFAULT_NTP_SERVERS)" \ - -Ddns-servers='' \ -Dsystem-uid-max=999 \ -Dsystem-gid-max=999 \ -Dnobody-user=nobody \ @@ -223,6 +222,10 @@ endif endif endif +ifeq (, $(filter pkg.systemd.upstream, $(DEB_BUILD_PROFILES))) +CONFFLAGS += -Ddns-servers='' +endif + override_dh_auto_configure: dh_auto_configure \ -- $(CONFFLAGS) $(CONFFLAGS_DISTRO) $(CONFFLAGS_UPSTREAM) |