aboutsummaryrefslogtreecommitdiff
path: root/sbin/geom/Makefile.inc
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2004-08-01 22:24:07 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2004-08-01 22:24:07 +0000
commit32e7be7043b962f004dc412716243fb80febf603 (patch)
tree0693b34165ff1c9f70d31ae39190d546ba9042af /sbin/geom/Makefile.inc
parent4c22eb57f3bf7fd4420afc901b4a0d0997b5e259 (diff)
downloadsrc-32e7be7043b962f004dc412716243fb80febf603.tar.gz
src-32e7be7043b962f004dc412716243fb80febf603.zip
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.
Notes
Notes: svn path=/head/; revision=132982
Diffstat (limited to 'sbin/geom/Makefile.inc')
-rw-r--r--sbin/geom/Makefile.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/geom/Makefile.inc b/sbin/geom/Makefile.inc
index ac8d315b8c50..d3914abe0b28 100644
--- a/sbin/geom/Makefile.inc
+++ b/sbin/geom/Makefile.inc
@@ -1,6 +1,7 @@
# $FreeBSD$
WARNS?= 6
-CLASSDIR?=/lib/geom
+CLASS_DIR?=/lib/geom
+CLASS_MAJOR?=1
.include "../Makefile.inc"