View | Details | Raw Unified | Return to bug 170580 | Differences between
and this patch

Collapse All | Expand All

(-)gtk-youtube-viewer/Makefile (+4 lines)
Lines 40-45 Link Here
40
40
41
.include <bsd.port.options.mk>
41
.include <bsd.port.options.mk>
42
42
43
.if ${PORT_OPTIONS:MGCAP}
44
RUN_DEPENDS+=	${LOCALBASE}/bin/gcap:${PORTSDIR}/multimedia/gcap
45
.endif
46
43
post-patch:
47
post-patch:
44
	@(cd ${WRKSRC} && ${REINPLACE_CMD} -e "s|#!/usr/bin/perl|#!${PERL}|g" gtk-youtube-viewer.pl \
48
	@(cd ${WRKSRC} && ${REINPLACE_CMD} -e "s|#!/usr/bin/perl|#!${PERL}|g" gtk-youtube-viewer.pl \
45
		youtube-viewer && ${REINPLACE_CMD} -e "s|/usr/share/|${PREFIX}/share/|g" gtk-youtube-viewer)
49
		youtube-viewer && ${REINPLACE_CMD} -e "s|/usr/share/|${PREFIX}/share/|g" gtk-youtube-viewer)

Return to bug 170580