tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
LOWER_OS_VERSION not set on Linux
Running "print-PLIST" target causes every character to be delimited like:
...
${LOWER_OS_VERSION}s${LOWER_OS_VERSION}s${LOWER_OS_VERSION}l${LOWER_OS_VERSION}/${LOWER_OS_VERSION}b${LOWER_OS_VERSION}n${LOWER_OS_VERSION}.${LOWER_OS_VERSION}h${LOWER_OS_VERSION}
...
reed@puget:~/pkgsrc/wip/openssl$ bmake show-var VARNAME=LOWER_OS_VERSION
reed@puget:~/pkgsrc/wip/openssl$ bmake show-var
VARNAME=_LOWER_OS_VERSION_CMD
echo 2.6.23.8 | tr 'A-Z' 'a-z'
reed@puget:~/pkgsrc/wip/openssl$ bmake show-var VARNAME=OS_VERSION
2.6.23.8
So I saw a typo for Linux where LOWER_OS_VERSION_CMD should have been
_LOWER_OS_VERSION_CMD.
But I fixed that and resulted in:
reed@puget:~/pkgsrc/wip/openssl$ bmake show-var VARNAME=LOWER_OS_VERSION
echo 2.6.23.8 | tr 'A 'a
Notice the above does not have a trailing single quote.
Which broke other things.
What range is really needed here:
LOWER_OS_VERSION:= ${_LOWER_OS_VERSION_CMD:C/-.*$//}
??
Jeremy C. Reed
Home |
Main Index |
Thread Index |
Old Index