View | Details | Raw Unified | Return to bug 35594
Collapse All | Expand All

(-)kwatch/Makefile (-4 / +16 lines)
Lines 14-25 Link Here
14
14
15
MAINTAINER=	ports@FreeBSD.org
15
MAINTAINER=	ports@FreeBSD.org
16
16
17
BUILD_DEPENDS=	msgfmt:${PORTSDIR}/devel/gettext
17
BUILD_DEPENDS=	msgfmt:${PORTSDIR}/devel/gettext \
18
		autoconf213:${PORTSDIR}/devel/autoconf213 \
19
		automake14:${PORTSDIR}/devel/automake14
18
20
19
USE_KDELIBS_VER=	2
21
USE_KDELIBS_VER=2
22
USE_GMAKE=	yes
20
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
21
24
22
post-patch:
25
pre-configure:
23
	@${PERL} -pi -e 's|-O2 ||g' ${WRKSRC}/configure
26
	${MKDIR} ${WRKSRC}/auto-bin
27
.for AC in autoconf autoheader
28
	${LN} -sf ${LOCALBASE}/bin/${AC}213 ${WRKSRC}/auto-bin/${AC}
29
.endfor
30
.for AM in automake aclocal
31
	${LN} -sf ${LOCALBASE}/bin/${AM}14 ${WRKSRC}/auto-bin/${AM}
32
.endfor
33
	cd ${WRKSRC} && env PATH=${WRKSRC}/auto-bin:$$PATH \
34
		${GMAKE} -f Makefile.cvs
35
	${PERL} -pi -e 's|-O2 ||g' ${WRKSRC}/configure
24
36
25
.include <bsd.port.mk>
37
.include <bsd.port.mk>

Return to bug 35594