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.
This commit is contained in:
parent
5a4e8b0f24
commit
9bba371fbf
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user