summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>2000-03-03 20:06:13 +0000
committerSatoshi Asami <asami@FreeBSD.org>2000-03-03 20:06:13 +0000
commit228223cd58859d668cfd43bb936b8599f697497b (patch)
treeb89aec0984236edc7f8aa7b867c76e2823a24a29
parentUpdate to version 0.9.2 (diff)
Use EXTRA_PATCHES instead of copying a patch into ${PATCHDIR}, which
can be read-only.
Notes
Notes: svn path=/head/; revision=26508
-rw-r--r--misc/less/Makefile7
-rw-r--r--net/tac_plus4/Makefile7
-rw-r--r--sysutils/less/Makefile7
3 files changed, 3 insertions, 18 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>
diff --git a/net/tac_plus4/Makefile b/net/tac_plus4/Makefile
index 20b2c6b5d3a2..e9db8f5aa430 100644
--- a/net/tac_plus4/Makefile
+++ b/net/tac_plus4/Makefile
@@ -16,13 +16,11 @@ MAINTAINER= tasic@lucky.net
ALL_TARGET= tac_plus
MAN1= tac_plus.1
-EXTRA_PATCH= patch-ba
# To change the text displayed when users are prompted to enter
# a username, set appropriately TAC_CHANGE_PROMPT variable.
.if defined(TAC_CHANGE_PROMPT) && ${TAC_CHANGE_PROMPT} == YES
-pre-patch:
- @${CP} ${FILESDIR}/${EXTRA_PATCH} ${PATCHDIR}
+EXTRA_PATCHES= ${FILESDIR}/patch-ba
.endif
do-install:
@@ -44,7 +42,4 @@ do-install:
post-install:
strip ${PREFIX}/sbin/tac_plus
-pre-clean:
- @${RM} -f ${PATCHDIR}/${EXTRA_PATCH}
-
.include <bsd.port.mk>
diff --git a/sysutils/less/Makefile b/sysutils/less/Makefile
index 593d12f4d078..5c5cdffa4356 100644
--- a/sysutils/less/Makefile
+++ b/sysutils/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>