summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/version/Makefile
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2011-05-17 19:11:47 +0000
committerflz <flz@FreeBSD.org>2011-05-17 19:11:47 +0000
commita67c814c56ba88655fb9dc06c639c3ce44a41d3d (patch)
tree09d73e61361d4bd08e4cbf43041da192c242cc1c /usr.sbin/pkg_install/version/Makefile
parent7fd3026923990d3b14f6b6440502163be85b611b (diff)
downloadFreeBSD-src-a67c814c56ba88655fb9dc06c639c3ce44a41d3d.zip
FreeBSD-src-a67c814c56ba88655fb9dc06c639c3ce44a41d3d.tar.gz
Backout libinstall.a -> libpkg commit.
Discussed with: erwin, brooks, bapt
Diffstat (limited to 'usr.sbin/pkg_install/version/Makefile')
-rw-r--r--usr.sbin/pkg_install/version/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.sbin/pkg_install/version/Makefile b/usr.sbin/pkg_install/version/Makefile
index fb079e3..3e1d7a5 100644
--- a/usr.sbin/pkg_install/version/Makefile
+++ b/usr.sbin/pkg_install/version/Makefile
@@ -3,8 +3,13 @@
PROG= pkg_version
SRCS= main.c perform.c
+CFLAGS+= -I${.CURDIR}/../lib
+
WFORMAT?= 1
+DPADD= ${LIBINSTALL} ${LIBFETCH} ${LIBMD}
+LDADD= ${LIBINSTALL} -lfetch -lmd
+
test:
sh ${.CURDIR}/test-pkg_version.sh
OpenPOWER on IntegriCloud