Fix the patch target if CODEMEDIC=no.

Reported by:	Gary Jennejohn <garyj@peedub.muc.de>
This commit is contained in:
Chris Piazza 1999-08-03 05:34:55 +00:00
parent 6a5df03003
commit 97570a6379
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=20511

View file

@ -3,7 +3,7 @@
# Date created: 30 July 1999
# Whom: Davec <davec@unforgettable.com>
#
# $Id$
# $Id: Makefile,v 1.1.1.1 1999/08/02 23:18:50 cpiazza Exp $
#
DISTNAME= CodeCrusader-2.1.3
@ -50,6 +50,12 @@ DISTFILES+= Code_Medic_source-1.0.3.tar.gz \
JSearch_source-0.5.6.tar.gz
.endif
.if !defined(CODEMEDIC) || (${CODEMEDIC} != no && ${CODEMEDIC} != NO)
post-patch:
@${PATCH} ${PATCH_ARGS} < ${FILESDIR}/patch-medic
@${PATCH} ${PATCH_ARGS} < ${FILESDIR}/patch-jsearch
.endif
.include <bsd.port.pre.mk>
.if ${OSREL} >= 3
ALL_TARGET= freebsd3.x