237c75e898
new problem shows up: symblic links (<libname>.so) are created under /usr/lib/ now, instead of under /lib/geom/ where geom(8) looks for them. Introduce a workaround to fix this by teaching geom(8) to open libraries via /lib/geom/<libname>.so.<major_number> instead of /lib/geom/<libname>.so.
16 lines
330 B
Makefile
16 lines
330 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../misc
|
|
|
|
PROG= geom
|
|
MAN= geom.8
|
|
SRCS= geom.c subr.c
|
|
|
|
CFLAGS+= -DCLASS_DIR=\"${CLASS_DIR}\" -DCLASS_MAJOR=${CLASS_MAJOR}
|
|
CFLAGS+= -I${.CURDIR}/../../../sys -I${.CURDIR} -I${.CURDIR}/..
|
|
|
|
DPADD= ${LIBGEOM} ${LIBSBUF} ${LIBBSDXML} ${LIBUTIL}
|
|
LDADD= -lgeom -lsbuf -lbsdxml -lutil
|
|
|
|
.include <bsd.prog.mk>
|