1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/usr.bin/patch/Makefile
Pedro F. Giffuni 21244d5227 Make the BSD-licensed patch the default.
The BSD-licensed patch(1) command has matured and it's behaviour
can be considered equivalent to the older version of GNU patch
in the tree.

The switch has been extensively tested [1] and only two ports
presented regressions, which have since been fixed.

For convenience a new WITH_GNU_PATCH option is available,
but it will likely be removed in the near future.

PR:		176313
Approved by:	portmgr
2013-07-26 21:25:18 +00:00

19 lines
315 B
Makefile

# $OpenBSD: Makefile,v 1.4 2005/05/16 15:22:46 espie Exp $
# $FreeBSD$
.include <bsd.own.mk>
.if ${MK_GNU_PATCH} == "yes"
PROG= bsdpatch
CLEANFILES+= bsdpatch.1
bsdpatch.1: patch.1
cp ${.ALLSRC} ${.TARGET}
.else
PROG= patch
.endif
SRCS= backupfile.c inp.c mkpath.c patch.c pch.c util.c
.include <bsd.prog.mk>