diff options
author | kientzle <kientzle@FreeBSD.org> | 2008-05-26 17:17:43 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2008-05-26 17:17:43 +0000 |
commit | 16030399a3a17282495aae57735c733f973d2788 (patch) | |
tree | b8ed21b40d2727ba3e6a388cafcb7c7af67e9d74 /usr.bin/cpio/Makefile | |
parent | 30d8209b8c69c616197b5e55f065d60b16235e77 (diff) | |
download | FreeBSD-src-16030399a3a17282495aae57735c733f973d2788.zip FreeBSD-src-16030399a3a17282495aae57735c733f973d2788.tar.gz |
bsdcpio is always installed as 'bsdcpio', symlink it to 'cpio'
only if WITH_BSDCPIO is defined.
Diffstat (limited to 'usr.bin/cpio/Makefile')
-rw-r--r-- | usr.bin/cpio/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/cpio/Makefile b/usr.bin/cpio/Makefile index 3685f18..cc5c106 100644 --- a/usr.bin/cpio/Makefile +++ b/usr.bin/cpio/Makefile @@ -6,10 +6,13 @@ SRCS= cpio.c cmdline.c err.c matching.c pathmatch.c WARNS?= 6 DPADD= ${LIBARCHIVE} ${LIBZ} ${LIBBZ2} CFLAGS+= -DBSDCPIO_VERSION_STRING=\"${BSDCPIO_VERSION_STRING}\" -CFLAGS+= -DPLATFORM_CONFIG_H=\"config_freebsd.h\" -O0 -g +CFLAGS+= -DPLATFORM_CONFIG_H=\"config_freebsd.h\" LDADD+= -larchive -lz -lbz2 + +.if defined(WITH_BSDCPIO) SYMLINKS=bsdcpio ${BINDIR}/cpio MLINKS= bsdcpio.1 cpio.1 +.endif .PHONY: check test |