aboutsummaryrefslogtreecommitdiffstats
path: root/usr.bin/cpio/Makefile
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2010-02-25 20:24:19 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2010-02-25 20:24:19 +0000
commitbee10047c04acda5938b9cc4fb21109285eefe16 (patch)
tree4f5956e5e1eefb11957b3c4e601da267e4d60995 /usr.bin/cpio/Makefile
parent4f0c2fae8d1f6e184673da0c85eabf20374ca8ed (diff)
downloadsrc-bee10047c04acda5938b9cc4fb21109285eefe16.tar.gz
src-bee10047c04acda5938b9cc4fb21109285eefe16.zip
Fixed dependencies (make checkdpadd).
Notes
Notes: svn path=/head/; revision=204329
Diffstat (limited to 'usr.bin/cpio/Makefile')
-rw-r--r--usr.bin/cpio/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/cpio/Makefile b/usr.bin/cpio/Makefile
index d609780ac9c7..bfcbe9734297 100644
--- a/usr.bin/cpio/Makefile
+++ b/usr.bin/cpio/Makefile
@@ -5,7 +5,6 @@
PROG= bsdcpio
BSDCPIO_VERSION_STRING=2.7.0
SRCS= cpio.c cmdline.c err.c matching.c pathmatch.c
-DPADD= ${LIBARCHIVE} ${LIBZ} ${LIBBZ2}
CFLAGS+= -DBSDCPIO_VERSION_STRING=\"${BSDCPIO_VERSION_STRING}\"
CFLAGS+= -DPLATFORM_CONFIG_H=\"config_freebsd.h\"
.ifdef RELEASE_CRUNCH
@@ -13,8 +12,10 @@ CFLAGS+= -DPLATFORM_CONFIG_H=\"config_freebsd.h\"
# statically linked, cannot use -lcrypto, and are size sensitive.
CFLAGS+= -DSMALLER
.endif
-LDADD+= -larchive -lz -lbz2 -lmd
+DPADD= ${LIBARCHIVE} ${LIBZ} ${LIBBZ2} ${LIBMD}
+LDADD= -larchive -lz -lbz2 -lmd
.if ${MK_OPENSSL} != "no"
+DPADD+= ${LIBCRYPTO}
LDADD+= -lcrypto
.endif