diff options
author | pjd <pjd@FreeBSD.org> | 2004-08-01 22:24:07 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2004-08-01 22:24:07 +0000 |
commit | 237c75e898625c7229b8d6db9c909d719aea8ef3 (patch) | |
tree | 0693b34165ff1c9f70d31ae39190d546ba9042af /sbin/geom/class | |
parent | b6d85a7112a38530d6e7f4e50fa29658304e0a68 (diff) | |
download | FreeBSD-src-237c75e898625c7229b8d6db9c909d719aea8ef3.zip FreeBSD-src-237c75e898625c7229b8d6db9c909d719aea8ef3.tar.gz |
After changing LIBDIR to SHLIBDIR, because of dependencies problems,
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.
Diffstat (limited to 'sbin/geom/class')
-rw-r--r-- | sbin/geom/class/Makefile.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/geom/class/Makefile.inc b/sbin/geom/class/Makefile.inc index 6102b05..aeb0dcd 100644 --- a/sbin/geom/class/Makefile.inc +++ b/sbin/geom/class/Makefile.inc @@ -1,8 +1,8 @@ # $FreeBSD$ -SHLIB_MAJOR= 1 -SHLIB_NAME?= geom_${CLASS}.so.${SHLIB_MAJOR} -SHLIBDIR?= ${CLASSDIR} +SHLIBDIR?=${CLASS_DIR} +SHLIB_MAJOR=${CLASS_MAJOR} +SHLIB_NAME?=geom_${CLASS}.so.${SHLIB_MAJOR} LINKS= ${BINDIR}/geom ${BINDIR}/g${CLASS} MAN= g${CLASS}.8 SRCS= geom_${CLASS}.c subr.c |