diff options
author | ru <ru@FreeBSD.org> | 2010-02-25 20:24:19 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2010-02-25 20:24:19 +0000 |
commit | 4d27ff91d01ec406d08089baae33529e85e9868f (patch) | |
tree | 4f5956e5e1eefb11957b3c4e601da267e4d60995 /usr.bin/cpio | |
parent | ab65ee82de3cee0452b0d696f87e19f28add5f08 (diff) | |
download | FreeBSD-src-4d27ff91d01ec406d08089baae33529e85e9868f.zip FreeBSD-src-4d27ff91d01ec406d08089baae33529e85e9868f.tar.gz |
Fixed dependencies (make checkdpadd).
Diffstat (limited to 'usr.bin/cpio')
-rw-r--r-- | usr.bin/cpio/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/cpio/Makefile b/usr.bin/cpio/Makefile index d609780..bfcbe97 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 |