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

(-)Makefile (-3 / +4 lines)
Lines 19-31 Link Here
19
USE_QT_VER=	2
19
USE_QT_VER=	2
20
HAS_CONFIGURE=	yes
20
HAS_CONFIGURE=	yes
21
CONFIGURE_ARGS=	--prefix=${PREFIX}
21
CONFIGURE_ARGS=	--prefix=${PREFIX}
22
USE_REINPLACE=	yes
22
23
23
pre-patch:
24
pre-patch:
24
	@${PERL} -pi -e 's|\$$\(prefix\)/doc|\$$\(prefix\)/share/doc|' \
25
	@${REINPLACE_CMD} -e 's|\$$\(prefix\)/doc|\$$\(prefix\)/share/doc|' \
25
		${WRKSRC}/tuxcards/docs/en/Makefile.in
26
		${WRKSRC}/tuxcards/docs/en/Makefile.in
26
	@${PERL} -pi -e 's|-O2||' ${WRKSRC}/configure
27
	@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure
27
.ifdef(NOPORTDOCS)
28
.ifdef(NOPORTDOCS)
28
	@${PERL} -pi -e 's|install-data-am\: install-data-local||' \
29
	@${REINPLACE_CMD} -e 's|install-data-am\: install-data-local||' \
29
		${WRKSRC}/tuxcards/docs/en/Makefile.in
30
		${WRKSRC}/tuxcards/docs/en/Makefile.in
30
.endif #NOPORTDOCS
31
.endif #NOPORTDOCS

Return to bug 41442