Files
ports/Mk/Uses/gettext-runtime.mk
2026-10-04 04:07:15 +00:00

28 lines
743 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}
BUILD_DEPENDS+= gettext-runtime>=0.26:devel/gettext-runtime
LIB_DEPENDS+= libintl.so:devel/gettext-runtime
. endif
. if ${gettext-runtime_ARGS:Mbuild}
BUILD_DEPENDS+= gettext-runtime>=0.26:devel/gettext-runtime
. endif
. if ${gettext-runtime_ARGS:Mrun}
RUN_DEPENDS+= gettext-runtime>=0.26:devel/gettext-runtime
. endif
.endif