From 9329705d9dc986cc0b1c4f5a12c06795c02fbad6 Mon Sep 17 00:00:00 2001 From: Oliver Lehmann Date: Tue, 6 Feb 2007 15:32:08 +0000 Subject: fix duplicated post-patch target Noted by: pav, Dmitry Morozovsky --- deskutils/orage/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'deskutils') diff --git a/deskutils/orage/Makefile b/deskutils/orage/Makefile index 5530222ee219..4d612ab4b223 100644 --- a/deskutils/orage/Makefile +++ b/deskutils/orage/Makefile @@ -38,12 +38,12 @@ CONFIGURE_ARGS+=--with-bdb4=no .if defined(WITH_ICAL) LIB_DEPENDS+= ical.0:${PORTSDIR}/devel/libical -.else -post-patch: - @${REINPLACE_CMD} -e 's|libical-|no-&|g' ${WRKSRC}/configure .endif post-patch: +.if !defined(WITH_ICAL) + @${REINPLACE_CMD} -e 's|libical-|no-&|g' ${WRKSRC}/configure +.endif @${REINPLACE_CMD} -e 's|echo aout|echo elf|g' ${WRKSRC}/configure .include -- cgit v1.2.3