aboutsummaryrefslogtreecommitdiffstats
path: root/misc/less
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>2000-03-04 04:06:13 +0800
committerasami <asami@FreeBSD.org>2000-03-04 04:06:13 +0800
commit612dc69322519984958de39cbf5971134975aaa3 (patch)
treedbecc6723b784b6145efd56f4a015c04e79e0dec /misc/less
parent7e0870b6f018cf2fda420529e26c57365e48a22e (diff)
downloadfreebsd-ports-gnome-612dc69322519984958de39cbf5971134975aaa3.tar.gz
freebsd-ports-gnome-612dc69322519984958de39cbf5971134975aaa3.tar.zst
freebsd-ports-gnome-612dc69322519984958de39cbf5971134975aaa3.zip
Use EXTRA_PATCHES instead of copying a patch into ${PATCHDIR}, which
can be read-only.
Diffstat (limited to 'misc/less')
-rw-r--r--misc/less/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/misc/less/Makefile b/misc/less/Makefile
index 593d12f4d078..5c5cdffa4356 100644
--- a/misc/less/Makefile
+++ b/misc/less/Makefile
@@ -18,15 +18,10 @@ MAINTAINER= ache@FreeBSD.org
GNU_CONFIGURE= yes
MAN1= less.1 lesskey.1
-EXTRA_PATCH= patch-ab
-
-pre-clean:
- @${RM} -f ${PATCHDIR}/${EXTRA_PATCH}
-
.if defined(COLOUR_LESS) || defined(COLOR_LESS)
pre-patch:
@${ECHO_MSG} "Making a colour version of less."
- @${CP} ${FILESDIR}/${EXTRA_PATCH} ${PATCHDIR}
+EXTRA_PATCHES= ${FILESDIR}/patch-ab
.endif
.include <bsd.port.mk>