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

Collapse All | Expand All

(-)autoreconf.mk (+16 lines)
Lines 68-84 Link Here
68
BUILD_DEPENDS+=	libtoolize:${PORTSDIR}/devel/libtool
68
BUILD_DEPENDS+=	libtoolize:${PORTSDIR}/devel/libtool
69
.endif
69
.endif
70
70
71
.if ${USE_GNOME:Mintltool}
72
BUILD_DEPENDS+=	intltoolize:${PORTSDIR}/textproc/intltool
71
.endif
73
.endif
72
74
75
.endif
76
73
.if defined(_POSTMKINCLUDED) && !defined(_INCLUDE_USES_AUTORECONF_POST_MK)
77
.if defined(_POSTMKINCLUDED) && !defined(_INCLUDE_USES_AUTORECONF_POST_MK)
74
_INCLUDE_USES_AUTORECONF_POST_MK=	yes
78
_INCLUDE_USES_AUTORECONF_POST_MK=	yes
75
79
76
.if ! ${autoreconf_ARGS:Mbuild}
80
.if ! ${autoreconf_ARGS:Mbuild}
81
post-patch:
82
# https://bugzilla.gnome.org/show_bug.cgi?id=706835
83
.if ${USE_GNOME:Mintltool}
84
        ${REINPLACE_CMD} -Ee 's|AM_GNU_GETTEXT.*||g' \
85
                ${CONFIGURE_WRKSRC}/configure.ac
86
.endif
87
77
do-autoreconf:
88
do-autoreconf:
78
.for f in AUTHORS ChangeLog INSTALL NEWS README
89
.for f in AUTHORS ChangeLog INSTALL NEWS README
79
# Don't modify time stamps if the files already exist
90
# Don't modify time stamps if the files already exist
80
	@test -e ${CONFIGURE_WRKSRC}/${f} || ${TOUCH} ${CONFIGURE_WRKSRC}/${f}
91
	@test -e ${CONFIGURE_WRKSRC}/${f} || ${TOUCH} ${CONFIGURE_WRKSRC}/${f}
81
.endfor
92
.endfor
93
.if ${USE_GNOME:Mintltool}
94
	@(mkdir ${CONFIGURE_WRKSRC}/m4)
95
	@(cd ${CONFIGURE_WRKSRC} && \
96
		${LOCALBASE}/bin/intltoolize --automake -c)
97
.endif
82
	@(cd ${CONFIGURE_WRKSRC} && ${LOCALBASE}/bin/autoreconf -f -i)
98
	@(cd ${CONFIGURE_WRKSRC} && ${LOCALBASE}/bin/autoreconf -f -i)
83
.endif
99
.endif
84
100

Return to bug 194393