summaryrefslogtreecommitdiff
path: root/package/dhcp-forwarder
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-05-13 22:27:11 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-05-13 22:27:48 +0200
commit71242d66a32a9e3e552c9cee6d6f6e703ff0797b (patch)
tree4fde8a4656be336d8e81330e5d4cc226170a31fe /package/dhcp-forwarder
parentbf62091b68e248270e432d935709ca5c95d1ae16 (diff)
rework post-install
Be sure to execute post-install as last step after populating staging dir.
Diffstat (limited to 'package/dhcp-forwarder')
-rw-r--r--package/dhcp-forwarder/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/dhcp-forwarder/Makefile b/package/dhcp-forwarder/Makefile
index 3d1fff97b..ef7b77431 100644
--- a/package/dhcp-forwarder/Makefile
+++ b/package/dhcp-forwarder/Makefile
@@ -17,9 +17,10 @@ include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,DHCP_FORWARDER,dhcp-forwarder,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_ARGS+= --disable-dietlibc
+CONFIGURE_ENV+= ac_cv_func_malloc_0_nonnull=yes
XAKE_FLAGS+= cfg_filename="/etc/dhcp-fwd.conf"
-post-install:
+dhcp-forwarder-install:
${INSTALL_DIR} ${IDIR_DHCP_FORWARDER}/usr/sbin \
${IDIR_DHCP_FORWARDER}/etc
${INSTALL_DATA} ${WRKBUILD}/contrib/dhcp-fwd.conf \