--- lib/libvmmapi/Makefile.orig +++ lib/libvmmapi/Makefile @@ -2,7 +2,7 @@ PACKAGE=lib${LIB} LIB= vmmapi -SHLIB_MAJOR= 6 +SHLIB_MAJOR= %%VMMAPI_SHLIB_MAJOR%% SRCS= vmmapi.c vmmapi_freebsd.c INCS= vmmapi.h --- usr.sbin/bhyvectl/Makefile.orig +++ usr.sbin/bhyvectl/Makefile @@ -10,7 +10,8 @@ MAN= bhyvectl.8 -LIBADD= vmmapi util +LIBADD= util +LDADD= ${SRCTOP}/lib/libvmmapi/libvmmapi.so.%%VMMAPI_SHLIB_MAJOR%% WARNS?= 3 --- usr.sbin/bhyveload/Makefile.orig +++ usr.sbin/bhyveload/Makefile @@ -5,7 +5,7 @@ MAN= bhyveload.8 PACKAGE= bhyve -LIBADD= vmmapi +LDADD= ${SRCTOP}/lib/libvmmapi/libvmmapi.so.%%VMMAPI_SHLIB_MAJOR%% WARNS?= 3