diff options
author | hrs <hrs@FreeBSD.org> | 2015-07-26 00:13:54 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2015-07-26 00:13:54 +0800 |
commit | cdaeb00e49fca34bceec58bb74280a3cec2cf628 (patch) | |
tree | 12a33b2163cd99b29ccbb3a50ef1121c1586a1ce /Mk | |
parent | 9c81bf703ae39628bdfe5875d7042e07a33f8b6d (diff) | |
download | freebsd-ports-gnome-cdaeb00e49fca34bceec58bb74280a3cec2cf628.tar.gz freebsd-ports-gnome-cdaeb00e49fca34bceec58bb74280a3cec2cf628.tar.zst freebsd-ports-gnome-cdaeb00e49fca34bceec58bb74280a3cec2cf628.zip |
- Fix a bug which prevented both a package version number and arguments
at the same time in USE_TEX from working.
- Enforce to use a package version number for dependency on base and texmf.
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.tex.mk | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/Mk/bsd.tex.mk b/Mk/bsd.tex.mk index 5867e1aa6a04..9041afdd3746 100644 --- a/Mk/bsd.tex.mk +++ b/Mk/bsd.tex.mk @@ -157,7 +157,16 @@ USE_TEX:= ${USE_TEX:tu:NFULL} ${_USE_TEX_FULLLIST:tu} .for _UU in ${USE_TEX:tu} _U:= ${_UU} # ugly but necessary in for loop _VOP:= -. if !empty(_U:tu:MKPATHSEA) || !empty(_U:tu:MPTEXENC) || !empty(_U:tu:MTEXLUA) || !empty(_U:tu:MTEXLUAJIT) +. if !empty(_U:tu:C/[<>=][^\:]*//:C/\:.*$//:MTEXMF) && empty(_U:M*[<>=]*) +_U:= ${_U}>=20150523 +. endif +. if !empty(_U:tu:C/[<>=][^\:]*//:C/\:.*$//:MBASE) && empty(_U:M*[<>=]*) +_U:= ${_U}>=20150521 +. endif +. if !empty(_U:tu:C/[<>=][^\:]*//:C/\:.*$//:MKPATHSEA) || \ + !empty(_U:tu:C/[<>=][^\:]*//:C/\:.*$//:MPTEXENC) || \ + !empty(_U:tu:C/[<>=][^\:]*//:C/\:.*$//:MTEXLUA) || \ + !empty(_U:tu:C/[<>=][^\:]*//:C/\:.*$//:MTEXLUAJIT) _U:= ${_U}:lib . endif . if !empty(_U:M*[<>=]*) @@ -166,8 +175,9 @@ _VOP:= ${_U:C/^[^<>=]*//:C/\:.*$//} . if empty(_U:M*\:*) _C:= BUILD RUN . else -_C:= ${_U:C/.*://:S/,/ /g} +_C:= ${_U:C/.*://:S/,/ /g:C/[<>=][^\:]*//g} . endif +#. warning DEBUG: ${_U}: _VOP=${_VOP}, _C=${_C} . for _CC in ${_C:tu} _V:=${_UU:C/[<>=][^\:]*//:C/\:.*$//} . if defined(_USE_TEX_${_V}_PORT) |