summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg/Makefile
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2013-10-14 18:31:15 +0000
committerbdrewery <bdrewery@FreeBSD.org>2013-10-14 18:31:15 +0000
commitae7fa1acd1316044df859e20bad035b5d6583874 (patch)
tree3698b019f785a221127f30af9ea27b156fed6f67 /usr.sbin/pkg/Makefile
parent7a70d69a08a5f4ff9895f70f638ff44cf2b4c81a (diff)
downloadFreeBSD-src-ae7fa1acd1316044df859e20bad035b5d6583874.zip
FreeBSD-src-ae7fa1acd1316044df859e20bad035b5d6583874.tar.gz
Rename libbsdyml to libyaml, make private, and bump
SHLIB_MAJOR to 1.0 Suggested by: des Approved by: bapt MFC after: 1 week
Diffstat (limited to 'usr.sbin/pkg/Makefile')
-rw-r--r--usr.sbin/pkg/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/pkg/Makefile b/usr.sbin/pkg/Makefile
index d244bd2..38d82ba 100644
--- a/usr.sbin/pkg/Makefile
+++ b/usr.sbin/pkg/Makefile
@@ -4,7 +4,10 @@ PROG= pkg
SRCS= pkg.c dns_utils.c config.c
NO_MAN= yes
-DPADD= ${LIBARCHIVE} ${LIBELF} ${LIBFETCH} ${LIBBSDYML} ${LIBSBUF}
-LDADD= -larchive -lelf -lfetch -lbsdyml -lsbuf
+CFLAGS+=-I${.CURDIR}/../../contrib/libyaml/include
+.PATH: ${.CURDIR}/../../contrib/libyaml/include
+DPADD= ${LIBARCHIVE} ${LIBELF} ${LIBFETCH} ${LIBYAML} ${LIBSBUF}
+LDADD= -larchive -lelf -lfetch -lyaml -lsbuf
+USEPRIVATELIB= yaml
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud