tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

LOWER_OS_VERSION not set on Linux




To: tech-pkg%netbsd.org@localhost

Subject: LOWER_OS_VERSION not set on Linux

From: "Jeremy C. Reed" <reed%reedmedia.net@localhost>

Date: Tue, 15 Jan 2008 17:39:51 -0600 (CST)


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



Follow-Ups:

Re: LOWER_OS_VERSION not set on Linux
From: Alan Barrett




Prev by Date: Re: Defaut options for subversion

Next by Date: Re: update security/openssl?

Previous by Thread: daily pkgsrc CVS update output

Next by Thread: Re: LOWER_OS_VERSION not set on Linux

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index