mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
Use EXTRA_PATCHES instead of copying a patch into ${PATCHDIR}, which
can be read-only.
This commit is contained in:
parent
4265e7d130
commit
228223cd58
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=26508
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user