aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorcpiazza <cpiazza@FreeBSD.org>1999-08-03 13:34:55 +0800
committercpiazza <cpiazza@FreeBSD.org>1999-08-03 13:34:55 +0800
commitbe3e462e374301e46b0d4f39eee4a5cfbf80e159 (patch)
treeeca19baa09aca0feed60d59a692c584ae13d97e3 /devel
parent39c61069b3718a85f1d288bc3c5c7b39977bc71a (diff)
downloadfreebsd-ports-gnome-be3e462e374301e46b0d4f39eee4a5cfbf80e159.tar.gz
freebsd-ports-gnome-be3e462e374301e46b0d4f39eee4a5cfbf80e159.tar.zst
freebsd-ports-gnome-be3e462e374301e46b0d4f39eee4a5cfbf80e159.zip
Fix the patch target if CODEMEDIC=no.
Reported by: Gary Jennejohn <garyj@peedub.muc.de>
Diffstat (limited to 'devel')
-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