summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>2000-03-03 20:06:13 +0000
committerasami <asami@FreeBSD.org>2000-03-03 20:06:13 +0000
commit612dc69322519984958de39cbf5971134975aaa3 (patch)
treedbecc6723b784b6145efd56f4a015c04e79e0dec
parent7e0870b6f018cf2fda420529e26c57365e48a22e (diff)
downloadFreeBSD-ports-612dc69322519984958de39cbf5971134975aaa3.zip
FreeBSD-ports-612dc69322519984958de39cbf5971134975aaa3.tar.gz
Use EXTRA_PATCHES instead of copying a patch into ${PATCHDIR}, which
can be read-only.
-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 593d12f..5c5cdff 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 20b2c6b..e9db8f5 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 593d12f..5c5cdff 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>
OpenPOWER on IntegriCloud