aboutsummaryrefslogtreecommitdiff
path: root/net/net-snmp
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2017-11-06 14:38:26 +0100
committerHans Dedecker <dedeckeh@gmail.com>2018-03-31 09:29:49 +0200
commitffd78405f0126da7161e1c91d13aad969c834210 (patch)
treef4d170ea82cfbb7e713c9d5f0709cba7509cd338 /net/net-snmp
parent518e6745b289cc54be95ab368aa39b55994d8a9d (diff)
net-snmp: InstallDev fix
Commit 384c2a8cfd2af9bc7acd6a642d71dbac2cc5056f added support for symlinking net-snmp-config into $(STAGING_DIR)/usr/bin but forgot to install first $(STAGING_DIR)/usr/bin resulting into a compile issue if $(STAGING_DIR)/usr/bin is not yet present. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'net/net-snmp')
-rw-r--r--net/net-snmp/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/net-snmp/Makefile b/net/net-snmp/Makefile
index 0237a54da..d3dda58f1 100644
--- a/net/net-snmp/Makefile
+++ b/net/net-snmp/Makefile
@@ -228,6 +228,7 @@ define Build/InstallDev
$(INSTALL_DIR) $(2)/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/net-snmp-config $(2)/bin/
$(SED) 's,=/usr,=$(STAGING_DIR)/usr,g' $(2)/bin/net-snmp-config
+ $(INSTALL_DIR) $(STAGING_DIR)/usr/bin
$(LN) $(STAGING_DIR)/host/bin/net-snmp-config $(STAGING_DIR)/usr/bin/
$(INSTALL_DIR) $(1)/usr/include