summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules5
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index e326444..0e77aa5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -89,7 +89,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 \
@@ -226,6 +225,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)