Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Dec 2014 03:47:44 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r276401 - in user/marcel/libvdsk: bhyve bhyveload
Message-ID:  <201412300347.sBU3licu045377@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marcel
Date: Tue Dec 30 03:47:43 2014
New Revision: 276401
URL: https://svnweb.freebsd.org/changeset/base/276401

Log:
  LIBADD does not work outside the source tree.
  Revert back to DPADD and LDADD.

Modified:
  user/marcel/libvdsk/bhyve/Makefile
  user/marcel/libvdsk/bhyveload/Makefile

Modified: user/marcel/libvdsk/bhyve/Makefile
==============================================================================
--- user/marcel/libvdsk/bhyve/Makefile	Tue Dec 30 03:35:26 2014	(r276400)
+++ user/marcel/libvdsk/bhyve/Makefile	Tue Dec 30 03:47:43 2014	(r276401)
@@ -43,7 +43,8 @@ SRCS=	\
 .PATH:	/sys/amd64/vmm
 SRCS+=	vmm_instruction_emul.c
 
-LIBADD=	vdsk vmmapi md util pthread
+DPADD=	${LIBVDSK} ${LIBVMMAPI} ${LIBMD} ${LIBUTIL} ${LIBPTHREAD}
+LDADD=	-lvdsk -lvmmapi -lmd -lutil -lpthread
 
 WARNS?=	2
 

Modified: user/marcel/libvdsk/bhyveload/Makefile
==============================================================================
--- user/marcel/libvdsk/bhyveload/Makefile	Tue Dec 30 03:35:26 2014	(r276400)
+++ user/marcel/libvdsk/bhyveload/Makefile	Tue Dec 30 03:47:43 2014	(r276401)
@@ -4,7 +4,8 @@ PROG=	bhyveload
 SRCS=	bhyveload.c
 MAN=	bhyveload.8
 
-LIBADD=	vdsk vmmapi util
+DPADD+=	${LIBVDSK} ${LIBVMMAPI} ${LIBUTIL}
+LDADD+=	-lvdsk -lvmmapi -lutil
 
 WARNS?=	3
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412300347.sBU3licu045377>