diff options
| author | Gabor Kovesdan <gabor@FreeBSD.org> | 2013-01-29 17:03:18 +0000 |
|---|---|---|
| committer | Gabor Kovesdan <gabor@FreeBSD.org> | 2013-01-29 17:03:18 +0000 |
| commit | 2dd076b84bb1129d0a62b886a4e736a9344b3376 (patch) | |
| tree | 0df6b0ca34fd3e520676781453dbeff50f662be6 /gnu/usr.bin/patch | |
| parent | 458690fe41675f2f5864c58d2153743ccb59b1e9 (diff) | |
Notes
Diffstat (limited to 'gnu/usr.bin/patch')
| -rw-r--r-- | gnu/usr.bin/patch/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/gnu/usr.bin/patch/Makefile b/gnu/usr.bin/patch/Makefile index 373efbb83f772..76d28e839a3c9 100644 --- a/gnu/usr.bin/patch/Makefile +++ b/gnu/usr.bin/patch/Makefile @@ -1,6 +1,17 @@ # $FreeBSD$ -PROG= patch +.include <bsd.own.mk> + +.if ${MK_BSD_PATCH} == "yes" +PROG= gnupatch +CLEANFILES+= gnupatch.1 + +gnupatch.1: patch.1 + cp ${.ALLSRC} ${.TARGET} +.else +PROG= patch +.endif + SRCS= backupfile.c inp.c patch.c pch.c util.c version.c CFLAGS+=-DHAVE_CONFIG_H |
