fix duplicated post-patch target

Noted by:	pav, Dmitry Morozovsky <marck@rinet.ru>
This commit is contained in:
Oliver Lehmann 2007-02-06 15:32:08 +00:00
parent df1a452e45
commit 9329705d9d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=184376

View file

@ -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 <bsd.port.post.mk>