summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsnmpd
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2003-11-10 13:43:26 +0000
committerharti <harti@FreeBSD.org>2003-11-10 13:43:26 +0000
commit944e5099fb54947af7b1412cecd05e0b01876859 (patch)
treebb421dafc34e1e80a9d298e534e3491b9a69f896 /usr.sbin/bsnmpd
parent0d0cb25a1324b544fd3307a7877460aba6471209 (diff)
downloadFreeBSD-src-944e5099fb54947af7b1412cecd05e0b01876859.zip
FreeBSD-src-944e5099fb54947af7b1412cecd05e0b01876859.tar.gz
Fix the build by adjusting the include directives. The problem was
that the sources use "..." includes to get at include files that later on reside in an include sub-directory.
Diffstat (limited to 'usr.sbin/bsnmpd')
-rw-r--r--usr.sbin/bsnmpd/modules/snmp_mibII/Makefile6
-rw-r--r--usr.sbin/bsnmpd/modules/snmp_netgraph/Makefile4
2 files changed, 6 insertions, 4 deletions
diff --git a/usr.sbin/bsnmpd/modules/snmp_mibII/Makefile b/usr.sbin/bsnmpd/modules/snmp_mibII/Makefile
index 7fa524a..4c8c0c1 100644
--- a/usr.sbin/bsnmpd/modules/snmp_mibII/Makefile
+++ b/usr.sbin/bsnmpd/modules/snmp_mibII/Makefile
@@ -2,8 +2,8 @@
#
# Author: Harti Brandt <harti@freebsd.org>
-CONTRIB=${.CURDIR}/../../../../contrib/bsnmp/snmp_mibII
-.PATH: ${CONTRIB}
+CONTRIB=${.CURDIR}/../../../../contrib/bsnmp
+.PATH: ${CONTRIB}/snmp_mibII
MOD= mibII
SRCS= mibII.c mibII_ifmib.c mibII_ip.c mibII_interfaces.c \
@@ -14,6 +14,6 @@ MAN= snmp_mibII.3
DEFS= ${MOD}_tree.def
INCS= snmp_${MOD}.h
-CFLAGS+= -I${INCLUDEDIR}/bsnmp -I${.CURDIR}
+CFLAGS+= -I${CONTRIB}/lib -I${CONTRIB}/snmpd -I${.CURDIR}
.include <bsd.lib.mk>
diff --git a/usr.sbin/bsnmpd/modules/snmp_netgraph/Makefile b/usr.sbin/bsnmpd/modules/snmp_netgraph/Makefile
index 6ccdf5f..b101b38 100644
--- a/usr.sbin/bsnmpd/modules/snmp_netgraph/Makefile
+++ b/usr.sbin/bsnmpd/modules/snmp_netgraph/Makefile
@@ -2,6 +2,8 @@
#
# Author: Harti Brandt <harti@freebsd.org>
+CONTRIB=${.CURDIR}/../../../../contrib/bsnmp
+
MOD= netgraph
SRCS= snmp_netgraph.c
MAN= snmp_netgraph.3
@@ -10,6 +12,6 @@ MIBS= BEGEMOT-NETGRAPH.txt
DEFS= ${MOD}_tree.def
INCS= snmp_${MOD}.h
-CFLAGS+= -I${INCLUDEDIR}/bsnmp -I${.CURDIR}
+CFLAGS+= -I${CONTRIB}/lib -I${CONTRIB}/snmpd -I${.CURDIR}
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud