mirror of
https://github.com/opnsense/src.git
synced 2026-02-13 07:44:48 -05:00
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
18 lines
283 B
Makefile
18 lines
283 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.if ${MK_GNU_PATCH} == "yes"
|
|
PROG= patch
|
|
.else
|
|
PROG= gnupatch
|
|
CLEANFILES+= gnupatch.1
|
|
|
|
gnupatch.1: patch.1
|
|
cp ${.ALLSRC} ${.TARGET}
|
|
.endif
|
|
|
|
SRCS= backupfile.c inp.c patch.c pch.c util.c version.c
|
|
CFLAGS+=-DHAVE_CONFIG_H
|
|
|
|
.include <bsd.prog.mk>
|