aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-05-05 17:45:36 +0800
committerbapt <bapt@FreeBSD.org>2014-05-05 17:45:36 +0800
commit1fa39fd2c3d6f5edbc6d4a9d6f9ceae142a0f184 (patch)
tree96cc94ba02edcc043c52eb3f26adbc632bbe44d8 /Mk
parentd8575795a2106dcbddc552f756cb3916f113f9e0 (diff)
downloadfreebsd-ports-gnome-1fa39fd2c3d6f5edbc6d4a9d6f9ceae142a0f184.tar.gz
freebsd-ports-gnome-1fa39fd2c3d6f5edbc6d4a9d6f9ceae142a0f184.tar.zst
freebsd-ports-gnome-1fa39fd2c3d6f5edbc6d4a9d6f9ceae142a0f184.zip
Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a replacement for :U and :L (which has been marked as deprecated) bmake which is the default on FreeBSD 10+ only support by default :tu/:tl a hack has been added at the time to support :U and :L to ease migration. This hack is now not necessary anymore Note that this makes the ports tree incompatible with make(1) from FreeBSD 8.3 or earlier With hat: portmgr
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Uses/cmake.mk2
-rw-r--r--Mk/Uses/qmail.mk4
-rw-r--r--Mk/Uses/scons.mk2
-rw-r--r--Mk/bsd.apache.mk10
-rw-r--r--Mk/bsd.autotools.mk2
-rw-r--r--Mk/bsd.database.mk12
-rw-r--r--Mk/bsd.default-versions.mk2
-rw-r--r--Mk/bsd.efl.mk10
-rw-r--r--Mk/bsd.fpc.mk6
-rw-r--r--Mk/bsd.gecko.mk2
-rw-r--r--Mk/bsd.java.mk2
-rw-r--r--Mk/bsd.linux-rpm.mk2
-rw-r--r--Mk/bsd.lua.mk4
-rw-r--r--Mk/bsd.options.mk2
-rw-r--r--Mk/bsd.php.mk4
-rw-r--r--Mk/bsd.port.mk78
-rw-r--r--Mk/bsd.python.mk6
-rw-r--r--Mk/bsd.ruby.mk4
-rw-r--r--Mk/bsd.sites.mk12
-rw-r--r--Mk/bsd.tex.mk30
-rw-r--r--Mk/bsd.wx.mk8
21 files changed, 101 insertions, 103 deletions
diff --git a/Mk/Uses/cmake.mk b/Mk/Uses/cmake.mk
index 0d2dd761c101..b4efb82155c8 100644
--- a/Mk/Uses/cmake.mk
+++ b/Mk/Uses/cmake.mk
@@ -65,7 +65,7 @@ CMAKE_BUILD_TYPE?= Debug
CMAKE_BUILD_TYPE?= Release
.endif #defined(WITH_DEBUG)
-PLIST_SUB+= CMAKE_BUILD_TYPE="${CMAKE_BUILD_TYPE:L}"
+PLIST_SUB+= CMAKE_BUILD_TYPE="${CMAKE_BUILD_TYPE:tl}"
.if defined(STRIP) && ${STRIP} != ""
INSTALL_TARGET?= install/strip
diff --git a/Mk/Uses/qmail.mk b/Mk/Uses/qmail.mk
index a25886a537f8..d4d43ae3473b 100644
--- a/Mk/Uses/qmail.mk
+++ b/Mk/Uses/qmail.mk
@@ -42,7 +42,7 @@ _QMAIL_VALID_SLAVEPORTS= ldap mysql spamcontrol tls
. if defined(QMAIL_SLAVEPORT)
. for slave in ${_QMAIL_VALID_SLAVEPORTS}
-. if ${QMAIL_SLAVEPORT:L} == ${slave}
+. if ${QMAIL_SLAVEPORT:tl} == ${slave}
_QMAIL_SLAVEPORT_OKAY= true
. endif
. endfor
@@ -53,7 +53,7 @@ IGNORE= Invalid QMAIL_SLAVEPORT value. Only one can be set, valid values are: ${
. endif
. if defined(QMAIL_SLAVEPORT)
-_QMAIL_DEPENDS= ${QMAIL_PREFIX}/bin/qmail-send:${PORTSDIR}/mail/qmail-${QMAIL_SLAVEPORT:L}
+_QMAIL_DEPENDS= ${QMAIL_PREFIX}/bin/qmail-send:${PORTSDIR}/mail/qmail-${QMAIL_SLAVEPORT:tl}
. else
_QMAIL_DEPENDS= ${QMAIL_PREFIX}/bin/qmail-send:${PORTSDIR}/mail/qmail
. endif
diff --git a/Mk/Uses/scons.mk b/Mk/Uses/scons.mk
index 1f84ccbc1417..a2621391c6fe 100644
--- a/Mk/Uses/scons.mk
+++ b/Mk/Uses/scons.mk
@@ -26,7 +26,7 @@ MAKE_ENV+= PKGCONFIGDIR="${PKGCONFIGDIR}" \
CCFLAGS="${CFLAGS}" LINKFLAGS="${LDFLAGS}" \
LIBPATH="${LIBPATH}" CPPPATH="${CPPPATH}"
.if !defined(NO_STAGE)
-MAKE_ARGS+= ${DESTDIRNAME:L}=${STAGEDIR}
+MAKE_ARGS+= ${DESTDIRNAME:tl}=${STAGEDIR}
.endif
.endif
diff --git a/Mk/bsd.apache.mk b/Mk/bsd.apache.mk
index 7e23c58ebb29..5cf4fdd2e3c7 100644
--- a/Mk/bsd.apache.mk
+++ b/Mk/bsd.apache.mk
@@ -147,7 +147,7 @@ IGNORE= lowercase WITH_STATIC_MODULES="${WITH_STATIC_MODULES}"\
# Setting "@comment " as default.
.for module in ${AVAILABLE_MODULES:O}
${module}_PLIST_SUB= "@comment "
-_DISABLE_MODULES+= --disable-${module:L}
+_DISABLE_MODULES+= --disable-${module:tl}
.endfor
# Configure
@@ -219,17 +219,17 @@ APACHE_MODULES+= ${module}
.if defined(WITH_STATIC_MODULES)
. for module in ${APACHE_MODULES}
. if ${WITH_STATIC_MODULES:M${module}}
-_CONFIGURE_ARGS+= --enable-${module:L}
+_CONFIGURE_ARGS+= --enable-${module:tl}
. else
-_CONFIGURE_ARGS+= --enable-${module:L}=shared
+_CONFIGURE_ARGS+= --enable-${module:tl}=shared
. endif
. endfor
CONFIGURE_ARGS+= ${_CONFIGURE_ARGS:O}
.elif defined(WITH_STATIC_APACHE) || defined(WITH_ALL_STATIC_MODULES)
WITH_STATIC_MODULES= ${APACHE_MODULES}
-CONFIGURE_ARGS+= --enable-modules="${APACHE_MODULES:O:L}"
+CONFIGURE_ARGS+= --enable-modules="${APACHE_MODULES:O:tl}"
.else
-CONFIGURE_ARGS+= --enable-mods-shared="${APACHE_MODULES:O:L}"
+CONFIGURE_ARGS+= --enable-mods-shared="${APACHE_MODULES:O:tl}"
.endif
# ====================================
diff --git a/Mk/bsd.autotools.mk b/Mk/bsd.autotools.mk
index 1b445b26b3fc..5fc74c7e1e0c 100644
--- a/Mk/bsd.autotools.mk
+++ b/Mk/bsd.autotools.mk
@@ -320,7 +320,7 @@ AUTOTOOLS_VARS= ${AUTOMAKE_VARS} ${AUTOCONF_VARS} ${LIBTOOL_VARS}
.if defined(AUTOTOOLS_VARS) && !empty(AUTOTOOLS_VARS)
. for var in AUTOTOOLS CONFIGURE MAKE SCRIPTS
-${var:U}_ENV+= ${AUTOTOOLS_VARS}
+${var:tu}_ENV+= ${AUTOTOOLS_VARS}
. endfor
.endif
diff --git a/Mk/bsd.database.mk b/Mk/bsd.database.mk
index ca1fdb42bf95..5dfc25567109 100644
--- a/Mk/bsd.database.mk
+++ b/Mk/bsd.database.mk
@@ -331,8 +331,8 @@ _DB_6P= 6
# Override the global WITH_BDB_VER with the
# port specific <UNIQUENAME>_WITH_BDB_VER
-.if defined(${UNIQUENAME:U:S,-,_,}_WITH_BDB_VER)
-WITH_BDB_VER= ${${UNIQUENAME:U:S,-,_,}_WITH_BDB_VER}
+.if defined(${UNIQUENAME:tu:S,-,_,}_WITH_BDB_VER)
+WITH_BDB_VER= ${${UNIQUENAME:tu:S,-,_,}_WITH_BDB_VER}
.endif
.if defined(WITH_BDB_VER)
@@ -345,7 +345,7 @@ USE_BDB= ${WITH_BDB_VER}
_WANT_BDB_VER= ${USE_BDB}
# Assume the default bdb version as 41
-.if ${USE_BDB:L} == "yes"
+.if ${USE_BDB:tl} == "yes"
_WANT_BDB_VER= 41+
.endif
@@ -492,7 +492,7 @@ BAD_VAR+= ${var},
. endif
. endfor
. if defined(BAD_VAR)
-_IGNORE_MSG= Obsolete variable(s) ${BAD_VAR} use WITH_BDB_VER or ${UNIQUENAME:U:S,-,_,}_WITH_BDB_VER to select Berkeley DB version
+_IGNORE_MSG= Obsolete variable(s) ${BAD_VAR} use WITH_BDB_VER or ${UNIQUENAME:tu:S,-,_,}_WITH_BDB_VER to select Berkeley DB version
. if defined(IGNORE)
IGNORE+= ${_IGNORE_MSG}
. else
@@ -506,7 +506,7 @@ IGNORE= ${_IGNORE_MSG}
# Handling SQLite dependency
.if defined(USE_SQLITE)
-.if ${USE_SQLITE:L} == "yes"
+.if ${USE_SQLITE:tl} == "yes"
_SQLITE_VER= 3
.else
_SQLITE_VER= ${USE_SQLITE}
@@ -531,7 +531,7 @@ IGNORE= cannot install: unknown SQLite version: ${_SQLITE_VER}
USE_FIREBIRD= ${WITH_FIREBIRD_VER}
.endif
-.if ${USE_FIREBIRD:L} == "yes"
+.if ${USE_FIREBIRD:tl} == "yes"
FIREBIRD_VER= 25
.else
FIREBIRD_VER= ${USE_FIREBIRD}
diff --git a/Mk/bsd.default-versions.mk b/Mk/bsd.default-versions.mk
index b5afed4cb0d9..22fa364dd42c 100644
--- a/Mk/bsd.default-versions.mk
+++ b/Mk/bsd.default-versions.mk
@@ -15,7 +15,7 @@ _INCLUDE_BSD_DEFAULT_VERSIONS_MK= yes
.for lang in ${DEFAULT_VERSIONS}
_l= ${lang:C/=.*//g}
-${_l:U}_DEFAULT= ${lang:C/.*=//g}
+${_l:tu}_DEFAULT= ${lang:C/.*=//g}
.endfor
APACHE_DEFAULT?= 2.2
diff --git a/Mk/bsd.efl.mk b/Mk/bsd.efl.mk
index ef74b35a577c..59cfb3d68905 100644
--- a/Mk/bsd.efl.mk
+++ b/Mk/bsd.efl.mk
@@ -288,8 +288,8 @@ _USE_EFL_EVAS_ENGINES_UQ+= ${COMP}
. endfor
. for COMP in ${_USE_EFL_EVAS_ENGINES_UQ}
-BUILD_DEPENDS+= ${_EFL_EVAS_ENGINES_MODDIR}/${_evas_engine_${COMP}_DIR}/${OPSYS:L}${OSREL}-${ARCH}/module.so:${PORTSDIR}/${_evas_engine_${COMP}_CATEGORY}/${_evas_engine_${COMP}_PORTNAME}
-RUN_DEPENDS+= ${_EFL_EVAS_ENGINES_MODDIR}/${_evas_engine_${COMP}_DIR}/${OPSYS:L}${OSREL}-${ARCH}/module.so:${PORTSDIR}/${_evas_engine_${COMP}_CATEGORY}/${_evas_engine_${COMP}_PORTNAME}
+BUILD_DEPENDS+= ${_EFL_EVAS_ENGINES_MODDIR}/${_evas_engine_${COMP}_DIR}/${OPSYS:tl}${OSREL}-${ARCH}/module.so:${PORTSDIR}/${_evas_engine_${COMP}_CATEGORY}/${_evas_engine_${COMP}_PORTNAME}
+RUN_DEPENDS+= ${_EFL_EVAS_ENGINES_MODDIR}/${_evas_engine_${COMP}_DIR}/${OPSYS:tl}${OSREL}-${ARCH}/module.so:${PORTSDIR}/${_evas_engine_${COMP}_CATEGORY}/${_evas_engine_${COMP}_PORTNAME}
. endfor
.endif #USE_EFL_EVAS_ENGINES
@@ -316,8 +316,8 @@ _USE_EFL_EVAS_LOADERS_UQ+= ${COMP}
. endfor
. for COMP in ${_USE_EFL_EVAS_LOADERS_UQ}
-BUILD_DEPENDS+= ${_EFL_EVAS_LOADERS_MODDIR}/${_evas_loader_${COMP}_DIR}/${OPSYS:L}${OSREL}-${ARCH}/module.so:${PORTSDIR}/${_evas_loader_${COMP}_CATEGORY}/${_evas_loader_${COMP}_PORTNAME}
-RUN_DEPENDS+= ${_EFL_EVAS_LOADERS_MODDIR}/${_evas_loader_${COMP}_DIR}/${OPSYS:L}${OSREL}-${ARCH}/module.so:${PORTSDIR}/${_evas_loader_${COMP}_CATEGORY}/${_evas_loader_${COMP}_PORTNAME}
+BUILD_DEPENDS+= ${_EFL_EVAS_LOADERS_MODDIR}/${_evas_loader_${COMP}_DIR}/${OPSYS:tl}${OSREL}-${ARCH}/module.so:${PORTSDIR}/${_evas_loader_${COMP}_CATEGORY}/${_evas_loader_${COMP}_PORTNAME}
+RUN_DEPENDS+= ${_EFL_EVAS_LOADERS_MODDIR}/${_evas_loader_${COMP}_DIR}/${OPSYS:tl}${OSREL}-${ARCH}/module.so:${PORTSDIR}/${_evas_loader_${COMP}_CATEGORY}/${_evas_loader_${COMP}_PORTNAME}
. endfor
.endif #USE_EFL_EVAS_LOADERS
@@ -398,7 +398,7 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS+= -I${LOCALBASE}/include
-PLIST_SUB+= E17_ARCH=${OPSYS:L}${OSREL}-${ARCH}
+PLIST_SUB+= E17_ARCH=${OPSYS:tl}${OSREL}-${ARCH}
.if defined(_USE_EFL_LIBRT_HACK)
#
diff --git a/Mk/bsd.fpc.mk b/Mk/bsd.fpc.mk
index d390e52ad04c..6f27465c268f 100644
--- a/Mk/bsd.fpc.mk
+++ b/Mk/bsd.fpc.mk
@@ -75,7 +75,7 @@ _FPC_ALL_UNITS= a52 aspell bfd bzip2 cairo chm dblib dbus dts fastcgi fcl-async
_FPC_CFG_UNITS= fastcgi fcl-web
.if defined(WANT_FPC_BASE)
-. if ${WANT_FPC_BASE:L} == "yes"
+. if ${WANT_FPC_BASE:tl} == "yes"
USE_FPC= gdbint graph hash httpd22 httpd24 ibase mysql odbc oracle pasjpeg paszlib \
postgres pthreads regexpr sqlite
. else
@@ -84,14 +84,14 @@ IGNORE= unknown value, please use "yes" instead of
.endif
.if defined(WANT_FPC_ALL)
-. if ${WANT_FPC_ALL:L} == "yes"
+. if ${WANT_FPC_ALL:tl} == "yes"
USE_FPC= ${_FPC_ALL_UNITS}
. else
IGNORE= unknown value, please use "yes" instead of
. endif
.endif
-.if ${USE_FPC:L} != "yes"
+.if ${USE_FPC:tl} != "yes"
. for UNITS in ${USE_FPC}
. if ${_FPC_ALL_UNITS:M${UNITS}}==""
IGNORE= cannot install: unknown FPC unit ${UNITS}
diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk
index 3cb46090bf81..e69fe468370f 100644
--- a/Mk/bsd.gecko.mk
+++ b/Mk/bsd.gecko.mk
@@ -452,7 +452,7 @@ MOZ_SED_ARGS+= -e's|@CPPFLAGS@|${CPPFLAGS}|g' \
MOZCONFIG_SED?= ${SED} ${MOZ_SED_ARGS}
.if ${ARCH} == amd64
-CONFIGURE_TARGET=x86_64-unknown-${OPSYS:L}${OSREL}
+CONFIGURE_TARGET=x86_64-unknown-${OPSYS:tl}${OSREL}
. if ${USE_MOZILLA:M-nss}
USE_BINUTILS= # intel-gcm.s
CFLAGS+= -B${LOCALBASE}/bin
diff --git a/Mk/bsd.java.mk b/Mk/bsd.java.mk
index 26d3db597676..636d3a186c4e 100644
--- a/Mk/bsd.java.mk
+++ b/Mk/bsd.java.mk
@@ -410,7 +410,7 @@ do-build:
# Then test if a JAVAC has to be set (JAVA_BUILD==jdk)
. if defined(JAVA_BUILD)
-. if (${JAVA_BUILD:U} == "JDK") && !defined(JAVAC)
+. if (${JAVA_BUILD:tu} == "JDK") && !defined(JAVAC)
JAVAC?= ${JAVA_HOME}/bin/javac
. endif
. endif
diff --git a/Mk/bsd.linux-rpm.mk b/Mk/bsd.linux-rpm.mk
index 4a3c3cdb74e4..3c86773594bb 100644
--- a/Mk/bsd.linux-rpm.mk
+++ b/Mk/bsd.linux-rpm.mk
@@ -130,7 +130,7 @@ linux-rpm-clean-portdocs:
. if defined(AUTOMATIC_PLIST)
-. if ${USE_LINUX} == "f10" || ${USE_LINUX:L} == "yes"
+. if ${USE_LINUX} == "f10" || ${USE_LINUX:tl} == "yes"
_LINUX_BASE_SUFFIX= f10
. else
# other linux_base ports do not provide a pkg-plist file
diff --git a/Mk/bsd.lua.mk b/Mk/bsd.lua.mk
index c163e7f0d7d3..2ca4fe790c77 100644
--- a/Mk/bsd.lua.mk
+++ b/Mk/bsd.lua.mk
@@ -243,7 +243,7 @@ IGNORE?= selected multiple values for WANT_LUA: ${_WANT_LUA}
. endif
_HAVE_LUA= #
# Check for all versions.
-. if ${_WANT_LUA:L} == "yes"
+. if ${_WANT_LUA:tl} == "yes"
. for comp in ${_LUA_COMPS_ALL}
. for ver in ${_LUA_VERS_ALL}
_LUA_COMP= _LUA_FILE_${comp}_${ver}
@@ -534,7 +534,7 @@ BUILD_DEPENDS+= ${_LUA_FILE_${comp_part}_${_LUA_VER}}:${PORTSDIR}/${_LUA_PORT_
RUN_DEPENDS+= ${_LUA_FILE_${comp_part}_${_LUA_VER}}:${PORTSDIR}/${_LUA_PORT_${comp_part}_${_LUA_VER}}
. endif
. else
-${_LUA_DEP_TYPE:U}_DEPENDS+= ${_LUA_FILE_${comp_part}_${_LUA_VER}}:${PORTSDIR}/${_LUA_PORT_${comp_part}_${_LUA_VER}}
+${_LUA_DEP_TYPE:tu}_DEPENDS+= ${_LUA_FILE_${comp_part}_${_LUA_VER}}:${PORTSDIR}/${_LUA_PORT_${comp_part}_${_LUA_VER}}
. endif
. endfor
.endfor
diff --git a/Mk/bsd.options.mk b/Mk/bsd.options.mk
index 5130a813babc..129d2cf76c6b 100644
--- a/Mk/bsd.options.mk
+++ b/Mk/bsd.options.mk
@@ -434,7 +434,7 @@ SUB_LIST:= ${SUB_LIST} ${opt}="@comment " NO_${opt}=""
. if defined(${opt}_USE)
. for option in ${${opt}_USE}
_u= ${option:C/=.*//g}
-USE_${_u:U}+= ${option:C/.*=//g:C/,/ /g}
+USE_${_u:tu}+= ${option:C/.*=//g:C/,/ /g}
. endfor
. endif
. if defined(${opt}_CONFIGURE_ENABLE)
diff --git a/Mk/bsd.php.mk b/Mk/bsd.php.mk
index 04c438e5bba8..55a5ddaa4be9 100644
--- a/Mk/bsd.php.mk
+++ b/Mk/bsd.php.mk
@@ -276,7 +276,7 @@ php-ini:
.endif
# Extensions
-.if defined(_POSTMKINCLUDED) && ${USE_PHP:L} != "yes"
+.if defined(_POSTMKINCLUDED) && ${USE_PHP:tl} != "yes"
# non-version specific components
_USE_PHP_ALL= apc bcmath bitset bz2 calendar ctype curl dba dom \
exif fileinfo filter ftp gd gettext gmp \
@@ -389,7 +389,7 @@ ext= ${extension}
BUILD_DEPENDS+= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/hash.so:${PORTSDIR}/${hash_DEPENDS}
. endif
RUN_DEPENDS+= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/hash.so:${PORTSDIR}/${hash_DEPENDS}
-. elif ${ext:L} != "yes"
+. elif ${ext:tl} != "yes"
check-makevars::
@${ECHO_CMD} "Unknown extension ${extension} for PHP ${PHP_VER}."
@${FALSE}
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 0615300e4a73..b5dc7310b672 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -1138,8 +1138,6 @@ PKG_ENV+= PORTSDIR=${PORTSDIR}
# make sure bmake treats -V as expected
.MAKE.EXPAND_VARIABLES= yes
-# tell bmake we use the old :L :U modifiers
-.MAKE.FreeBSD_UL= yes
.include "${PORTSDIR}/Mk/bsd.commands.mk"
@@ -1368,7 +1366,7 @@ IGNORE= PORTVERSION ${PORTVERSION} may not contain '-' '_' or ','
.endif
DISTVERSION?= ${PORTVERSION:S/:/::/g}
.elif defined(DISTVERSION)
-PORTVERSION= ${DISTVERSION:L:C/([a-z])[a-z]+/\1/g:C/([0-9])([a-z])/\1.\2/g:C/:(.)/\1/g:C/[^a-z0-9+]+/./g}
+PORTVERSION= ${DISTVERSION:tl:C/([a-z])[a-z]+/\1/g:C/([0-9])([a-z])/\1.\2/g:C/:(.)/\1/g:C/[^a-z0-9+]+/./g}
.endif
PORTREVISION?= 0
@@ -1530,7 +1528,7 @@ USES+= gmake
.endif
.if defined(USE_DOS2UNIX)
-.if ${USE_DOS2UNIX:U}=="YES"
+.if ${USE_DOS2UNIX:tu}=="YES"
DOS2UNIX_REGEX?= .*
.else
.if ${USE_DOS2UNIX:M*/*}
@@ -1752,7 +1750,7 @@ BINUTILS?= ADDR2LINE AR AS CPPFILT GPROF LD NM OBJCOPY OBJDUMP RANLIB \
READELF SIZE STRINGS
BINUTILS_NO_MAKE_ENV?=
. for b in ${BINUTILS}
-${b}= ${LOCALBASE}/bin/${b:C/PP/++/:L}
+${b}= ${LOCALBASE}/bin/${b:C/PP/++/:tl}
. if defined(GNU_CONFIGURE) || defined(BINUTILS_CONFIGURE)
CONFIGURE_ENV+= ${b}="${${b}}"
. endif
@@ -1766,7 +1764,7 @@ MAKE_ENV+= ${b}="${${b}}"
.include "${PORTSDIR}/Mk/bsd.ldap.mk"
.endif
-.if defined(USE_RC_SUBR) && ${USE_RC_SUBR:U} != "YES"
+.if defined(USE_RC_SUBR) && ${USE_RC_SUBR:tu} != "YES"
SUB_FILES+= ${USE_RC_SUBR}
.endif
@@ -1774,10 +1772,10 @@ SUB_FILES+= ${USE_RC_SUBR}
SUB_FILES+= ${USE_RCORDER}
.endif
-.if defined(USE_LDCONFIG) && ${USE_LDCONFIG:L} == "yes"
+.if defined(USE_LDCONFIG) && ${USE_LDCONFIG:tl} == "yes"
USE_LDCONFIG= ${PREFIX}/lib
.endif
-.if defined(USE_LDCONFIG32) && ${USE_LDCONFIG32:L} == "yes"
+.if defined(USE_LDCONFIG32) && ${USE_LDCONFIG32:tl} == "yes"
IGNORE= has USE_LDCONFIG32 set to yes, which is not correct
.endif
@@ -1802,7 +1800,7 @@ STRIP_CMD= ${TRUE}
# Allow the user to specify another linux_base version.
. if defined(OVERRIDE_LINUX_BASE_PORT)
-. if ${USE_LINUX:L} == yes
+. if ${USE_LINUX:tl} == yes
USE_LINUX= ${OVERRIDE_LINUX_BASE_PORT}
. endif
. endif
@@ -1813,7 +1811,7 @@ USE_LINUX= ${OVERRIDE_LINUX_BASE_PORT}
. if exists(${PORTSDIR}/emulators/linux_base-${USE_LINUX})
LINUX_BASE_PORT= ${LINUXBASE}/bin/sh:${PORTSDIR}/emulators/linux_base-${USE_LINUX}
. else
-. if ${USE_LINUX:L} == "yes"
+. if ${USE_LINUX:tl} == "yes"
LINUX_BASE_PORT= ${LINUXBASE}/etc/fedora-release:${PORTSDIR}/emulators/linux_base-f10
. else
IGNORE= cannot be built: there is no emulators/linux_base-${USE_LINUX}, perhaps wrong use of USE_LINUX or OVERRIDE_LINUX_BASE_PORT
@@ -1840,7 +1838,7 @@ _GL_glw_LIB_DEPENDS= libGLw.so:${PORTSDIR}/graphics/libGLw
_GL_glut_LIB_DEPENDS= libglut.so:${PORTSDIR}/graphics/freeglut
.if defined(USE_GL)
-. if ${USE_GL:L} == "yes"
+. if ${USE_GL:tl} == "yes"
USE_GL= glu
. endif
. for _component in ${USE_GL}
@@ -2924,13 +2922,13 @@ _COUNT=1
# MAN${sect} is for man pages installed for all languages in MANLANG for a given
# section.
.if defined(MAN${sect})
-_MANPAGES+= ${MAN${sect}:S%^%${MAN${sect}PREFIX}/${manlang}/man${sect:L}/%}
+_MANPAGES+= ${MAN${sect}:S%^%${MAN${sect}PREFIX}/${manlang}/man${sect:tl}/%}
.endif
# Language specific MAN${sect} variables are for man pages installed in that
# language, but not necessarily all languages in MANLANG.
-.if defined(MAN${sect}_${manlang:S%^man/%%:U})
-_MANPAGES+= ${MAN${sect}_${manlang:S%^man/%%:U}:S%^%${MAN${sect}PREFIX}/${manlang}/man${sect:L}/%}
+.if defined(MAN${sect}_${manlang:S%^man/%%:tu})
+_MANPAGES+= ${MAN${sect}_${manlang:S%^man/%%:tu}:S%^%${MAN${sect}PREFIX}/${manlang}/man${sect:tl}/%}
.endif
.endfor
@@ -2942,7 +2940,7 @@ _MANPAGES+= ${MAN${sect}_${manlang:S%^man/%%:U}:S%^%${MAN${sect}PREFIX}/${manlan
# of MAN${sect}PREFIX.
.for sect in 1 2 3 4 5 6 7 8 9 L N
.if defined(MAN${sect}_EN)
-_MANPAGES+= ${MAN${sect}_EN:S%^%${MAN${sect}PREFIX}/man/man${sect:L}/%}
+_MANPAGES+= ${MAN${sect}_EN:S%^%${MAN${sect}PREFIX}/man/man${sect:tl}/%}
.endif
.endfor
@@ -3222,7 +3220,7 @@ DEPENDS_ARGS+= NOCLEANDEPENDS=yes
################################################################
.if ((!defined(OPTIONS_DEFINE) && !defined(OPTIONS_SINGLE) && !defined(OPTIONS_MULTI)) \
&& !defined(OPTIONS_GROUP) && !defined(OPTIONS_RADIO) \
- || defined(CONFIG_DONE_${UNIQUENAME:U}) || \
+ || defined(CONFIG_DONE_${UNIQUENAME:tu}) || \
defined(PACKAGE_BUILDING) || defined(BATCH))
_OPTIONS_OK=yes
.endif
@@ -4684,7 +4682,7 @@ check-checksum-algorithms:
@ \
${checksum_init} \
\
- for alg in ${CHECKSUM_ALGORITHMS:U}; do \
+ for alg in ${CHECKSUM_ALGORITHMS:tu}; do \
eval alg_executable=\$$$$alg; \
if [ -z "$$alg_executable" ]; then \
${ECHO_MSG} "Checksum algorithm $$alg: Couldn't find the executable."; \
@@ -4707,7 +4705,7 @@ makesum: check-checksum-algorithms
${checksum_init} \
\
for file in ${_CKSUMFILES}; do \
- for alg in ${CHECKSUM_ALGORITHMS:U}; do \
+ for alg in ${CHECKSUM_ALGORITHMS:tu}; do \
eval alg_executable=\$$$$alg; \
\
if [ $$alg_executable != "NO" ]; then \
@@ -4718,7 +4716,7 @@ makesum: check-checksum-algorithms
done \
)
@for file in ${_IGNOREFILES}; do \
- for alg in ${CHECKSUM_ALGORITHMS:U}; do \
+ for alg in ${CHECKSUM_ALGORITHMS:tu}; do \
${ECHO_CMD} "$$alg ($$file) = IGNORE" >> ${DISTINFO_FILE}; \
done; \
done
@@ -4733,7 +4731,7 @@ checksum: fetch check-checksum-algorithms
for file in ${_CKSUMFILES}; do \
ignored="true"; \
_file=$${file#${DIST_SUBDIR}/*}; \
- for alg in ${CHECKSUM_ALGORITHMS:U}; do \
+ for alg in ${CHECKSUM_ALGORITHMS:tu}; do \
ignore="false"; \
eval alg_executable=\$$$$alg; \
\
@@ -4788,7 +4786,7 @@ checksum: fetch check-checksum-algorithms
_file=$${file#${DIST_SUBDIR}/*}; \
ignored="true"; \
alreadymatched="false"; \
- for alg in ${CHECKSUM_ALGORITHMS:U}; do \
+ for alg in ${CHECKSUM_ALGORITHMS:tu}; do \
ignore="false"; \
eval alg_executable=\$$$$alg; \
\
@@ -4926,7 +4924,7 @@ _INSTALL_DEPENDS= \
${ECHO_MSG} "===> Returning to build of ${PKGNAME}";
.for deptype in PKG EXTRACT PATCH FETCH BUILD RUN
-${deptype:L}-depends:
+${deptype:tl}-depends:
.if defined(${deptype}_DEPENDS)
.if !defined(NO_DEPENDS)
@set -e ; for i in `${ECHO_CMD} "${${deptype}_DEPENDS}"`; do \
@@ -5584,7 +5582,7 @@ apply-slist:
.endfor
.for i in pkg-message pkg-install pkg-deinstall pkg-req
.if ${SUB_FILES:M${i}*}!=""
-${i:S/-//:U}= ${WRKDIR}/${SUB_FILES:M${i}*}
+${i:S/-//:tu}= ${WRKDIR}/${SUB_FILES:M${i}*}
.endif
.endfor
.endif
@@ -5637,8 +5635,8 @@ generate-plist:
.endfor
.for reinplace in ${PLIST_REINPLACE}
-.if defined(PLIST_REINPLACE_${reinplace:U})
- @${SED} -i "" -e '${PLIST_REINPLACE_${reinplace:U}}' ${TMPPLIST}
+.if defined(PLIST_REINPLACE_${reinplace:tu})
+ @${SED} -i "" -e '${PLIST_REINPLACE_${reinplace:tu}}' ${TMPPLIST}
.endif
.endfor
@@ -5799,7 +5797,7 @@ add-plist-post:
.endif
.if !target(install-rc-script)
-.if defined(USE_RCORDER) || defined(USE_RC_SUBR) && ${USE_RC_SUBR:U} != "YES"
+.if defined(USE_RCORDER) || defined(USE_RC_SUBR) && ${USE_RC_SUBR:tu} != "YES"
install-rc-script:
.if defined(USE_RCORDER)
@${ECHO_MSG} "===> Staging early rc.d startup script(s)"
@@ -5810,7 +5808,7 @@ install-rc-script:
done
@${ECHO_CMD} "@cwd ${PREFIX}" >> ${TMPPLIST}
.endif
-.if defined(USE_RC_SUBR) && ${USE_RC_SUBR:U} != "YES"
+.if defined(USE_RC_SUBR) && ${USE_RC_SUBR:tu} != "YES"
@${ECHO_MSG} "===> Staging rc.d startup script(s)"
@${ECHO_CMD} "@cwd ${PREFIX}" >> ${TMPPLIST}
@for i in ${USE_RC_SUBR}; do \
@@ -6169,7 +6167,7 @@ showconfig:
.for otype in MULTI GROUP SINGLE RADIO
. for m in ${OPTIONS_${otype}}
. if empty(${m}_DESC)
- @${ECHO_MSG} "====> Options available for the ${otype:L} ${m}${${otype}_EOL}"
+ @${ECHO_MSG} "====> Options available for the ${otype:tl} ${m}${${otype}_EOL}"
. else
@${ECHO_MSG} "====> ${${m}_DESC}${${otype}_EOL}"
. endif
@@ -6642,43 +6640,43 @@ _${_t}_REAL_SUSEQ+= ${s}
# target noting that config is no longer needed.
.if !target(${target}) && defined(_OPTIONS_OK)
_PHONY_TARGETS+= ${target}
-${target}: ${${target:U}_COOKIE}
+${target}: ${${target:tu}_COOKIE}
.elif !target(${target})
${target}: config-conditional
- @cd ${.CURDIR} && ${MAKE} CONFIG_DONE_${UNIQUENAME:U}=1 ${${target:U}_COOKIE}
+ @cd ${.CURDIR} && ${MAKE} CONFIG_DONE_${UNIQUENAME:tu}=1 ${${target:tu}_COOKIE}
.elif target(${target}) && defined(IGNORE)
.endif
-.if !exists(${${target:U}_COOKIE})
+.if !exists(${${target:tu}_COOKIE})
# Define the real target behavior. Depend on the target's *_DEP. Execute
# the target's *_SEQ. Also handle su and USE_SUBMAKE needs.
-.if ${UID} != 0 && defined(_${target:U}_REAL_SUSEQ) && !defined(INSTALL_AS_USER)
+.if ${UID} != 0 && defined(_${target:tu}_REAL_SUSEQ) && !defined(INSTALL_AS_USER)
. if defined(USE_SUBMAKE)
-${${target:U}_COOKIE}: ${_${target:U}_DEP}
- @cd ${.CURDIR} && ${MAKE} ${_${target:U}_REAL_SEQ}
+${${target:tu}_COOKIE}: ${_${target:tu}_DEP}
+ @cd ${.CURDIR} && ${MAKE} ${_${target:tu}_REAL_SEQ}
. else # !USE_SUBMAKE
-${${target:U}_COOKIE}: ${_${target:U}_DEP} ${_${target:U}_REAL_SEQ}
+${${target:tu}_COOKIE}: ${_${target:tu}_DEP} ${_${target:tu}_REAL_SEQ}
. endif # USE_SUBMAKE
@${ECHO_MSG} "===> Switching to root credentials for '${target}' target"
@cd ${.CURDIR} && \
- ${SU_CMD} "${MAKE} ${_${target:U}_REAL_SUSEQ}"
+ ${SU_CMD} "${MAKE} ${_${target:tu}_REAL_SUSEQ}"
@${ECHO_MSG} "===> Returning to user credentials"
@${TOUCH} ${TOUCH_FLAGS} ${.TARGET}
.else # No SU needed
. if defined(USE_SUBMAKE)
-${${target:U}_COOKIE}: ${_${target:U}_DEP}
+${${target:tu}_COOKIE}: ${_${target:tu}_DEP}
@cd ${.CURDIR} && \
- ${MAKE} ${_${target:U}_REAL_SEQ} ${_${target:U}_REAL_SUSEQ}
+ ${MAKE} ${_${target:tu}_REAL_SEQ} ${_${target:tu}_REAL_SUSEQ}
@${TOUCH} ${TOUCH_FLAGS} ${.TARGET}
. else # !USE_SUBMAKE
-${${target:U}_COOKIE}: ${_${target:U}_DEP} ${_${target:U}_REAL_SEQ} ${_${target:U}_REAL_SUSEQ}
+${${target:tu}_COOKIE}: ${_${target:tu}_DEP} ${_${target:tu}_REAL_SEQ} ${_${target:tu}_REAL_SUSEQ}
@${TOUCH} ${TOUCH_FLAGS} ${.TARGET}
. endif # USE_SUBMAKE
.endif # SU needed
.else # exists(cookie)
-${${target:U}_COOKIE}::
+${${target:tu}_COOKIE}::
@if [ -e ${.TARGET} ]; then \
${DO_NADA}; \
else \
diff --git a/Mk/bsd.python.mk b/Mk/bsd.python.mk
index 390a9e939b78..f5364b7f7cae 100644
--- a/Mk/bsd.python.mk
+++ b/Mk/bsd.python.mk
@@ -187,7 +187,7 @@ Python_Include_MAINTAINER= python@FreeBSD.org
#
# PYEASYINSTALL_OSARCH
# - Platform identifier for easy_install.
-# default: -${OPSYS:L}-${OSVERSION:C/([0-9]*)[0-9]{5}/\1/}-${ARCH}
+# default: -${OPSYS:tl}-${OSVERSION:C/([0-9]*)[0-9]{5}/\1/}-${ARCH}
# if PYEASYINSTALL_ARCHDEP is defined.
#
# PYEASYINSTALL_CMD - Full file path to easy_install command.
@@ -416,7 +416,7 @@ PYTHON_INCLUDEDIR= ${PYTHONBASE}/include/${PYTHON_VERSION}${PYTHON_ABIVER}
PYTHON_LIBDIR= ${PYTHONBASE}/lib/${PYTHON_VERSION}
PYTHON_PKGNAMEPREFIX= py${PYTHON_SUFFIX}-
PYTHON_PKGNAMESUFFIX= -py${PYTHON_SUFFIX}
-PYTHON_PLATFORM= ${OPSYS:L}${OSREL:C/\.[0-9.]*//}
+PYTHON_PLATFORM= ${OPSYS:tl}${OSREL:C/\.[0-9.]*//}
PYTHON_SITELIBDIR= ${PYTHON_LIBDIR}/site-packages
PYTHONPREFIX_INCLUDEDIR= ${PYTHON_INCLUDEDIR:S;${PYTHONBASE};${PREFIX};}
@@ -448,7 +448,7 @@ MAKE_ENV+= PYTHONPATH=${PYEASYINSTALL_SITELIBDIR}
.endif
.if defined(PYEASYINSTALL_ARCHDEP)
-PYEASYINSTALL_OSARCH?= -${OPSYS:L}-${OSVERSION:C/([0-9]*)[0-9]{5}/\1/}-${ARCH}
+PYEASYINSTALL_OSARCH?= -${OPSYS:tl}-${OSVERSION:C/([0-9]*)[0-9]{5}/\1/}-${ARCH}
MAKE_ENV+= _PYTHON_HOST_PLATFORM=${PYEASYINSTALL_OSARCH}
.endif
PYEASYINSTALL_EGG?= ${PYDISTUTILS_PKGNAME:C/[^A-Za-z0-9.]+/_/g}-${PYDISTUTILS_PKGVERSION:C/[^A-Za-z0-9.]+/_/g}-py${PYTHON_VER}${PYEASYINSTALL_OSARCH}.egg
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk
index d042eca1a7fd..c4449adb52e6 100644
--- a/Mk/bsd.ruby.mk
+++ b/Mk/bsd.ruby.mk
@@ -243,9 +243,9 @@ RUBY_CONFIGURE_ARGS+= --with-rubyhdrdir="${PREFIX}/include/ruby-${RUBY_VER}/" \
--docdir="${RUBY_DOCDIR}" \
--with-soname=ruby${RUBY_SUFFIX}
-CONFIGURE_TARGET?= ${ARCH}-portbld-${OPSYS:L}${OSREL:C/\..*//}
+CONFIGURE_TARGET?= ${ARCH}-portbld-${OPSYS:tl}${OSREL:C/\..*//}
-RUBY_ARCH?= ${ARCH}-${OPSYS:L}${OSREL:C/\..*//}
+RUBY_ARCH?= ${ARCH}-${OPSYS:tl}${OSREL:C/\..*//}
RUBY_NAME?= ruby${RUBY_SUFFIX}
_RUBY_SYSLIBDIR?= ${PREFIX}/lib
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk
index 80d0a21bfe61..5400bb3066dd 100644
--- a/Mk/bsd.sites.mk
+++ b/Mk/bsd.sites.mk
@@ -954,7 +954,7 @@ MASTER_SITE_PERL_CPAN_BY+= \
_PERL_CPAN_FLAG=${MASTER_SITE_SUBDIR:C/(CPAN):.*$/\1/}
_PERL_CPAN_ID= ${MASTER_SITE_SUBDIR:C/^CPAN:(.)(.)(.*)$/\1\/\1\2\/\1\2\3/}
-.if !empty(_PERL_CPAN_ID) && ${_PERL_CPAN_FLAG:L} == "cpan"
+.if !empty(_PERL_CPAN_ID) && ${_PERL_CPAN_FLAG:tl} == "cpan"
_PERL_CPAN_SORT=authors/id/${_PERL_CPAN_ID}
MASTER_SITE_PERL_CPAN=${MASTER_SITE_PERL_CPAN_BY:S/%CPANSORT%/${_PERL_CPAN_SORT}/:S/%SUBDIR%\///}
.else
@@ -1501,7 +1501,7 @@ MASTER_SITES_ABBREVS= CPAN:PERL_CPAN \
RG:RUBYGEMS \
RF:RUBYFORGE
MASTER_SITES_SUBDIRS= APACHE_JAKARTA:${PORTNAME:S,-,/,}/source \
- BERLIOS:${PORTNAME:L} \
+ BERLIOS:${PORTNAME:tl} \
CENKES:myports \
CHEESESHOP:source/${DISTNAME:C/(.).*/\1/}/${DISTNAME:C/(.*)-[0-9].*/\1/} \
CSME:myports \
@@ -1514,16 +1514,16 @@ MASTER_SITES_SUBDIRS= APACHE_JAKARTA:${PORTNAME:S,-,/,}/source \
HORDE:${PORTNAME} \
LOGILAB:${PORTNAME} \
MATE:${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} \
- MOZDEV:${PORTNAME:L} \
+ MOZDEV:${PORTNAME:tl} \
NETLIB:${PORTNAME} \
PERL_CPAN:${PORTNAME:C/-.*//} \
PNET:${PNET_MASTER_SITE_SUBDIR} \
PYTHON:${PYTHON_MASTER_SITE_SUBDIR} \
RUBY_DBI:${RUBY_DBI_MASTER_SITE_SUBDIR} \
RUBY_GNOME:${RUBY_GNOME_MASTER_SITE_SUBDIR} \
- SAVANNAH:${PORTNAME:L} \
- SOURCEFORGE:${PORTNAME:L}/${PORTNAME:L}/${PORTVERSION} \
- RUBYFORGE:${PORTNAME:L}
+ SAVANNAH:${PORTNAME:tl} \
+ SOURCEFORGE:${PORTNAME:tl}/${PORTNAME:tl}/${PORTVERSION} \
+ RUBYFORGE:${PORTNAME:tl}
.if defined(MASTER_SITES) && ${MASTER_SITES:N*\:/*}
diff --git a/Mk/bsd.tex.mk b/Mk/bsd.tex.mk
index b5106021bea7..3d9adc229e6c 100644
--- a/Mk/bsd.tex.mk
+++ b/Mk/bsd.tex.mk
@@ -78,21 +78,21 @@ CONFLICTS_TETEX= \
latex2e-[0-9]*
# override the user configuration
-.if !empty(USE_TEX:U:MTETEX)
+.if !empty(USE_TEX:tu:MTETEX)
TEX_DEFAULT= tetex
-.elif !empty(USE_TEX:U:MTEXLIVE)
+.elif !empty(USE_TEX:tu:MTEXLIVE)
TEX_DEFAULT= texlive
.endif
-.if !empty(TEX_DEFAULT:U:MTETEX)
+.if !empty(TEX_DEFAULT:tu:MTETEX)
CONFLICTS_INSTALL+= ${CONFLICTS_TEXLIVE}
-.elif !empty(TEX_DEFAULT:U:MTEXLIVE)
+.elif !empty(TEX_DEFAULT:tu:MTEXLIVE)
CONFLICTS_INSTALL+= ${CONFLICTS_TETEX}
.else
.error malformed TEX_DEFAULT: ${TEX_DEFAULT}
.endif
-_TEX_LABEL:= ${TEX_DEFAULT:U:S/TEXLIVE/TEX/}
+_TEX_LABEL:= ${TEX_DEFAULT:tu:S/TEXLIVE/TEX/}
_USE_TETEX_TEXMF= ${LOCALBASE}/${TEXMFDISTDIR}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf
_USE_TEX_TEXMF= ${LOCALBASE}/${TEXMFDISTDIR}/README:${PORTSDIR}/print/texlive-texmf
@@ -146,13 +146,13 @@ _USE_TEX_FULL= texmf base web2c infra \
dvipsk dvipdfmx xdvik \
kpathsea:lib ptexenc:lib
-.if !empty(USE_TEX:U:MFULL)
+.if !empty(USE_TEX:tu:MFULL)
USE_TEX:= ${_USE_${_TEX_LABEL}_FULL}
.endif
-.for _UU in ${USE_TEX:U}
+.for _UU in ${USE_TEX:tu}
_U:= ${_UU} # ugly but necessary in for loop
-. if !empty(_U:U:MKPATHSEA) || !empty(_U:U:MPTEXENC)
+. if !empty(_U:tu:MKPATHSEA) || !empty(_U:tu:MPTEXENC)
_U:= ${_U}:lib
. endif
. if empty(_U:M*\:*)
@@ -160,7 +160,7 @@ _C:= BUILD RUN
. else
_C:= ${_U:C/.*://}
. endif
-. for _CC in ${_C:U}
+. for _CC in ${_C:tu}
TEX_${_CC}_DEPENDS+=${_USE_${_TEX_LABEL}_${_UU:C/:.*$//}}
. endfor
.endfor
@@ -207,14 +207,14 @@ post-install-script: do-texhash
. for F in ${TEX_FORMATS}
do-fmtutil: do-fmtutil-$F post-install-$F
do-fmtutil-$F:
- @${TEST} -n '${TEX_FORMAT_${F:U}}'
+ @${TEST} -n '${TEX_FORMAT_${F:tu}}'
@${TEST} -r ${LOCALBASE}/${FMTUTIL_CNF}
@exec < ${LOCALBASE}/${FMTUTIL_CNF} && \
${RM} ${LOCALBASE}/${FMTUTIL_CNF} && \
(${GREP} -v "\#$F\$$"; \
- ${PRINTF} "%s\t\#$F\n" ${TEX_FORMAT_${F:U}}) \
+ ${PRINTF} "%s\t\#$F\n" ${TEX_FORMAT_${F:tu}}) \
> ${LOCALBASE}/${FMTUTIL_CNF}
- @${PRINTF} "%s\t\#$F\n" ${TEX_FORMAT_${F:U}} | \
+ @${PRINTF} "%s\t\#$F\n" ${TEX_FORMAT_${F:tu}} | \
while read format dum; do \
${SETENV} PATH=${PATH}:${LOCALBASE}/bin \
TEXMFMAIN=${LOCALBASE}/${TEXMFDIR} \
@@ -224,14 +224,14 @@ do-fmtutil-$F:
@${ECHO_CMD} "@exec exec < ${LOCALBASE}/${FMTUTIL_CNF} && " \
"${RM} ${LOCALBASE}/${FMTUTIL_CNF} && " \
"(${GREP} -v \"\#$F\$$\"; ${PRINTF} \"%%s\t\#$F\n\" " \
- "${TEX_FORMAT_${F:U}:S,",\\",g}) " \
+ "${TEX_FORMAT_${F:tu}:S,",\\",g}) " \
"> ${LOCALBASE}/${FMTUTIL_CNF}" >> ${TMPPLIST}
@${ECHO_CMD} "@unexec exec < ${LOCALBASE}/${FMTUTIL_CNF} && " \
"${RM} ${LOCALBASE}/${FMTUTIL_CNF} && " \
"${GREP} -v \"\#$F\$$\" " \
"> ${LOCALBASE}/${FMTUTIL_CNF}" >> ${TMPPLIST}
-_PLIST_FILES+= ${TEX_FORMAT_${F:U}_FILES}
-_PLIST_DIRSTRY+=${TEX_FORMAT_${F:U}_DIRS}
+_PLIST_FILES+= ${TEX_FORMAT_${F:tu}_FILES}
+_PLIST_DIRSTRY+=${TEX_FORMAT_${F:tu}_DIRS}
. endfor
post-install-script: do-fmtutil
diff --git a/Mk/bsd.wx.mk b/Mk/bsd.wx.mk
index 7e5cf664a133..f1af5961a13f 100644
--- a/Mk/bsd.wx.mk
+++ b/Mk/bsd.wx.mk
@@ -220,7 +220,7 @@ _WANT_WX= yes
. for __WANT_WX in ${_WANT_WX}
. if defined(_WX_UC_AVAILABLE) && \
- (${_WX_VERS_UC_ALL:M${__WANT_WX}} != "" || ${_WANT_WX:L} == "yes")
+ (${_WX_VERS_UC_ALL:M${__WANT_WX}} != "" || ${_WANT_WX:tl} == "yes")
_WX_WANT_UNICODE= yes
. endif
. endfor
@@ -249,7 +249,7 @@ IGNORE?= selected multiple values for WANT_WX: ${_WANT_WX}
. endif
_HAVE_WX= #
# Check for all versions.
-. if ${_WANT_WX:L} == "yes"
+. if ${_WANT_WX:tl} == "yes"
. for comp in ${_WX_COMPS_ALL}
. for ver in ${_WX_VER_FINAL}
_WX_COMP= _WX_FILE_${comp}_${ver}
@@ -564,9 +564,9 @@ MAKE_ENV+= WX_CONFIG=${WX_CONFIG}
CONFIGURE_ENV+= WX_CONFIG=${WX_CONFIG}
.if defined(WX_CONF_ARGS)
-. if ${WX_CONF_ARGS:L} == "absolute"
+. if ${WX_CONF_ARGS:tl} == "absolute"
CONFIGURE_ARGS+= --with-wx-config=${WX_CONFIG}
-. elif ${WX_CONF_ARGS:L} == "relative"
+. elif ${WX_CONF_ARGS:tl} == "relative"
CONFIGURE_ARGS+= --with-wx=${LOCALBASE} \
--with-wx-config=${WX_CONFIG:T}
. else