freebsd-ports/Mk/Uses/gettext-runtime.mk
Tobias C. Berner aa25396790 framework: cleanup conditional-indentations in Mk/
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)
2022-04-24 12:00:20 +02:00

26 lines
655 B
Makefile

# Handle dependency on the gettext-runtime (libintl) port
#
# Feature: gettext-runtime
# Usage: USES=gettext-runtime or USES=gettext-runtime:ARGS
# Valid ARGS: lib (default), build, run
#
# MAINTAINER: tijl@FreeBSD.org
.if !defined(_INCLUDE_USES_GETTEXT_RUNTIME_MK)
_INCLUDE_USES_GETTEXT_RUNTIME_MK= yes
. if empty(gettext-runtime_ARGS)
gettext-runtime_ARGS= lib
. endif
. if ${gettext-runtime_ARGS:Mlib}
LIB_DEPENDS+= libintl.so:devel/gettext-runtime
. endif
. if ${gettext-runtime_ARGS:Mbuild}
BUILD_DEPENDS+= gettext:devel/gettext-runtime
. endif
. if ${gettext-runtime_ARGS:Mrun}
RUN_DEPENDS+= gettext:devel/gettext-runtime
. endif
.endif