diff options
author | João Henrique Ferreira de Freitas <joaohf@gmail.com> | 2014-06-17 16:33:19 -0300 |
---|---|---|
committer | João Henrique Ferreira de Freitas <joaohf@gmail.com> | 2014-06-17 16:33:19 -0300 |
commit | 6154ddf9a29798b65c6acea64eca7791a2e378fb (patch) | |
tree | 8b2eb7a54b974b4690b9c54549f8cf4616f48c60 /recipes-extended/openhpi-subagent/files/fix_datadir.patch | |
parent | 68f9a9c4ab01590d63506126660e3316ba668f99 (diff) | |
download | meta-openclovis-6154ddf9a29798b65c6acea64eca7791a2e378fb.tar.gz |
openhpi-subagent: fix data dir install path
Signed-off-by: João Henrique Ferreira de Freitas <joaohf@gmail.com>
Diffstat (limited to 'recipes-extended/openhpi-subagent/files/fix_datadir.patch')
-rw-r--r-- | recipes-extended/openhpi-subagent/files/fix_datadir.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes-extended/openhpi-subagent/files/fix_datadir.patch b/recipes-extended/openhpi-subagent/files/fix_datadir.patch new file mode 100644 index 0000000..ed95ea3 --- /dev/null +++ b/recipes-extended/openhpi-subagent/files/fix_datadir.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | diff --git a/Makefile.am b/Makefile.am | ||
2 | index 72fe2c2..667d334 100644 | ||
3 | --- a/Makefile.am | ||
4 | +++ b/Makefile.am | ||
5 | @@ -51,7 +51,7 @@ SUBDIRS = src docs | ||
6 | |||
7 | DIST_SUBDIRS = src docs | ||
8 | |||
9 | -datadir = $(shell net-snmp-config --prefix)/share/snmp/mibs | ||
10 | +datadir = /usr/share/snmp/mibs/ | ||
11 | dist_data_DATA = mib/SAI-HPI-SNMP-MIB-B.01.01.mib mib/SAF-TC-MIB.mib | ||
12 | |||
13 | DISTCHECK_CONFIGURE_FLAGS = --with-initdir=prefix | ||