--- usr.sbin/bhyvectl/Makefile.orig +++ usr.sbin/bhyvectl/Makefile @@ -10,7 +10,8 @@ MAN= bhyvectl.8 -LIBADD= vmmapi util +LIBADD= util +LDADD= ../../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= ../../lib/libvmmapi/libvmmapi.so.%%VMMAPI_SHLIB_MAJOR%% WARNS?= 3 --- lib/libvmmapi/Makefile.orig +++ lib/libvmmapi/Makefile @@ -5,6 +5,8 @@ SRCS= vmmapi.c vmmapi_freebsd.c INCS= vmmapi.h +SHLIB_MAJOR= %%VMMAPI_SHLIB_MAJOR%% + LIBADD= util CFLAGS+= -I${.CURDIR}