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:
David E. O'Brien 2010-12-15 23:45:12 +00:00
parent 06b000f542
commit 8494b7389a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=216470
4 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,5 @@
# $FreeBSD$
CLASS_DIR?=/lib/geom
GEOM_CLASS_DIR?=/lib/geom
.include "../Makefile.inc"

View File

@ -6,6 +6,5 @@
GEOM_CLASS= sched
WARNS?= 6
CLASS_DIR?=/lib/geom
.include <bsd.lib.mk>

View File

@ -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}

View File

@ -500,7 +500,7 @@ library_path(void)
path = getenv("GEOM_LIBRARY_PATH");
if (path == NULL)
path = CLASS_DIR;
path = GEOM_CLASS_DIR;
return (path);
}