Run Tools/scripts/indent_make_if.pl on all of Mk. These white space changes contribute greatly to the readability of those files. As we have a version control system, finding out the reasons for the changes prior to these white space changes is still easily possible Differential Revision: https://reviews.freebsd.org/D35024 Reviewed by: portmgr (rene, bapt)
25 lines
737 B
Makefile
25 lines
737 B
Makefile
# Lookup in Makefile.in to prevent a package from installing/modifying charset.alias
|
|
#
|
|
# Feature: charsetfix
|
|
# Usage: USES=charsetfix
|
|
# Valid ARGS: does not require args
|
|
#
|
|
# MAINTAINER: ports@FreeBSD.org
|
|
|
|
.if !defined(_INCLUDE_USES_CHARSETFIX_MK)
|
|
_INCLUDE_USES_CHARSETFIX_MK= yes
|
|
|
|
. if !empty(charsetfix_ARGS)
|
|
IGNORE= USES=charsetfix does not require args
|
|
. endif
|
|
|
|
CHARSETFIX_MAKEFILEIN?= Makefile.in
|
|
|
|
_USES_patch+= 600:charsetfix-post-patch
|
|
charsetfix-post-patch:
|
|
@${FIND} ${WRKSRC} -name "${CHARSETFIX_MAKEFILEIN}" -type f | ${XARGS} ${FRAMEWORK_REINPLACE_CMD} \
|
|
-e 's|need_charset_alias=true|need_charset_alias=false|g ; \
|
|
s|test -f $$(charset_alias)|false|g ;\
|
|
s|test -f $$(DESTDIR)$$(libdir)/charset.alias|false|g'
|
|
|
|
.endif
|