mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-01 12:19:28 +00:00
Rename the generic "CLASS" to the more specific "GEOM_CLASS".
While I'm here remove redundancy and inconsistencies. Obtained from: Juniper Networks
This commit is contained in:
parent
06b000f542
commit
8494b7389a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=216470
@ -1,5 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
CLASS_DIR?=/lib/geom
|
||||
GEOM_CLASS_DIR?=/lib/geom
|
||||
|
||||
.include "../Makefile.inc"
|
||||
|
@ -6,6 +6,5 @@
|
||||
GEOM_CLASS= sched
|
||||
|
||||
WARNS?= 6
|
||||
CLASS_DIR?=/lib/geom
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
@ -8,7 +8,7 @@ SRCS= geom.c subr.c
|
||||
|
||||
NO_SHARED=NO
|
||||
|
||||
CFLAGS+= -DCLASS_DIR=\"${CLASS_DIR}\"
|
||||
CFLAGS+= -DGEOM_CLASS_DIR=\"${GEOM_CLASS_DIR}\"
|
||||
CFLAGS+= -I${.CURDIR}/../../../sys -I${.CURDIR} -I${.CURDIR}/..
|
||||
|
||||
DPADD= ${LIBGEOM} ${LIBSBUF} ${LIBBSDXML} ${LIBUTIL}
|
||||
|
@ -500,7 +500,7 @@ library_path(void)
|
||||
|
||||
path = getenv("GEOM_LIBRARY_PATH");
|
||||
if (path == NULL)
|
||||
path = CLASS_DIR;
|
||||
path = GEOM_CLASS_DIR;
|
||||
return (path);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user