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

(-)Makefile (-10 / +4 lines)
Lines 19-35 Link Here
19
USE_GNOME=	gtk20
19
USE_GNOME=	gtk20
20
LDFLAGS+=	-L${LOCALBASE}/lib
20
LDFLAGS+=	-L${LOCALBASE}/lib
21
21
22
.include <bsd.port.options.mk>
22
OPTIONS_DEFINE=	NLS
23
OPTIONS_SUB=	yes
24
NLS_USES=	gettext
25
NLS_CONFIGURE_ENABLE=	nls
23
26
24
.if ${PORT_OPTIONS:MNLS}
25
USES+=		gettext
26
CONFIGURE_ARGS+=	--enable-nls
27
PLIST_SUB+=	NLS=""
28
.else
29
CONFIGURE_ARGS+=	--disable-nls
30
PLIST_SUB+=	NLS="@comment "
31
.endif
32
33
post-patch:
27
post-patch:
34
	@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure
28
	@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure

Return to bug 183674