- cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/dhcp-3.1_linux3.patch
- cd $(DIR_APP) && ./configure
- cd $(DIR_APP) && make $(MAKETUNING)
- cd $(DIR_APP) && make LIBDIR=/usr/lib INCDIR=/usr/include install
+
+ # Extract bundled BIND
+ cd $(DIR_APP)/bind && tar xvfa bind.tar.gz
+
+ $(UPDATE_AUTOMAKE)
+
+ cd $(DIR_APP) && \
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc/dhcp \
+ --with-srv-conf-file=/etc/dhcp/dhcpd.conf \
+ --with-srv-lease-file=/var/state/dhcp/dhcpd.leases \
+ --enable-paranoia \
+ --enable-early-chroot \
+ --disable-dhcpv6
+
+ cd $(DIR_APP) && make #This package does not support parallel build
+ cd $(DIR_APP) && make install
+
+ mkdir -pv /var/state/dhcp