1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Use EXTRA_PATCHES for extra patches.

Submitted by:	asami@FreeBSD.org
This commit is contained in:
Yukihiro Nakai 2000-03-04 10:57:30 +00:00
parent c96c7385e5
commit 0fd70b090f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=26521

View File

@ -17,17 +17,14 @@ NO_CDROM= "Shareware"
NO_WRKSUBDIR= yes
ALL_TARGET= giftool
pre-clean:
@${RM} -f ${PATCHDIR}/patch-a[bc]
pre-patch:
.if defined(RETVALUE)
@${ECHO_MSG} "Return value patch enabled....."
@${CP} ${FILESDIR}/patch-aa ${PATCHDIR}
EXTRA_PATCHES= ${FILESDIR}/patch-aa
.endif
.if defined(MALLOCSIZE)
@${ECHO_MSG} "Malloc size improve parch enabled....."
@${CP} ${FILESDIR}/patch-ab ${PATCHDIR}
EXTRA_PATCHES= ${FILESDIR}/patch-ab
.endif
do-install: