From 79d6eed9c01a71682dc30083501da71bba603606 Mon Sep 17 00:00:00 2001 From: nakai Date: Sat, 4 Mar 2000 10:57:30 +0000 Subject: Use EXTRA_PATCHES for extra patches. Submitted by: asami@FreeBSD.org --- graphics/giftool/Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'graphics/giftool') diff --git a/graphics/giftool/Makefile b/graphics/giftool/Makefile index e45ee1fe0a2a..8cc7ca9e8e44 100644 --- a/graphics/giftool/Makefile +++ b/graphics/giftool/Makefile @@ -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: -- cgit