Changeset View
Changeset View
Standalone View
Standalone View
head/Mk/Uses/charsetfix.mk
| Show All 11 Lines | |||||
| _INCLUDE_USES_CHARSETFIX_MK= yes | _INCLUDE_USES_CHARSETFIX_MK= yes | ||||
| .if !empty(charsetfix_ARGS) | .if !empty(charsetfix_ARGS) | ||||
| IGNORE= USES=charsetfix does not require args | IGNORE= USES=charsetfix does not require args | ||||
| .endif | .endif | ||||
| CHARSETFIX_MAKEFILEIN?= Makefile.in | CHARSETFIX_MAKEFILEIN?= Makefile.in | ||||
| _USES_patch+= 600:charsetfix-post-patch | |||||
| charsetfix-post-patch: | charsetfix-post-patch: | ||||
| @${FIND} ${WRKSRC} -name "${CHARSETFIX_MAKEFILEIN}" -type f | ${XARGS} ${REINPLACE_CMD} \ | @${FIND} ${WRKSRC} -name "${CHARSETFIX_MAKEFILEIN}" -type f | ${XARGS} ${REINPLACE_CMD} \ | ||||
| -e 's|need_charset_alias=true|need_charset_alias=false|g ; \ | -e 's|need_charset_alias=true|need_charset_alias=false|g ; \ | ||||
| s|test -f $$(charset_alias)|false|g ;\ | s|test -f $$(charset_alias)|false|g ;\ | ||||
| s|test -f $$(DESTDIR)$$(libdir)/charset.alias|false|g' | s|test -f $$(DESTDIR)$$(libdir)/charset.alias|false|g' | ||||
| .endif | .endif | ||||