summaryrefslogtreecommitdiff
path: root/devel/codecrusader
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-08-03 05:34:55 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-08-03 05:34:55 +0000
commit97570a6379f264133a0844b352fd5103846c29e8 (patch)
treece21c50a0696f0f52f9d65bbda5304e7ae4ffea1 /devel/codecrusader
parentUpdate to 0.4.15.1 (diff)
Fix the patch target if CODEMEDIC=no.
Reported by: Gary Jennejohn <garyj@peedub.muc.de>
Notes
Notes: svn path=/head/; revision=20511
Diffstat (limited to 'devel/codecrusader')
-rw-r--r--devel/codecrusader/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/codecrusader/Makefile b/devel/codecrusader/Makefile
index d08612727947..e787377a7eaf 100644
--- a/devel/codecrusader/Makefile
+++ b/devel/codecrusader/Makefile
@@ -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