Check-in [5ceded1d7d]
Overview
Comment:Updated to build with latest version of dependencies if their version is not specified, otherwise, try to find one
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | packages
Files: files | file ages | folders
SHA1:5ceded1d7df79328ce15d4e6b9a6dc398c81a306
User & Date: rkeene on 2014-11-12 07:38:35
Other Links: manifest | tags
Context
2014-11-12
08:04
Added support for applying patches check-in: af79362c78 user: rkeene tags: packages
07:38
Updated to build with latest version of dependencies if their version is not specified, otherwise, try to find one check-in: 5ceded1d7d user: rkeene tags: packages
07:32
Added ticlib to ncurses to match other packages check-in: c956780267 user: rkeene tags: packages
Changes

Modified build from [9552d0e034] to [68229c87b4].

   110    110   		esac
   111    111   
   112    112   		if [ -z "${pkgdomain}" ]; then
   113    113   			pkgdomain="${domain}"
   114    114   		fi
   115    115   
   116    116   		pkgfound='0'
   117         -		for pkgdir in "/opt/appfs/${pkgdomain}/${pkg}/platform"/${pkgversion:-*}; do
          117  +		for pkgdir in "/opt/appfs/${pkgdomain}/${pkg}/platform"/${pkgversion:-latest} "/opt/appfs/${pkgdomain}/${pkg}/platform"/${pkgversion:-*}; do
   118    118   			pkgconfigdir="${pkgdir}/lib/pkgconfig"
   119    119   
   120         -			if [ -d "${pkgdir}" ]; then
          120  +			if [ ! -d "${pkgdir}" ]; then
          121  +				continue
          122  +			fi
          123  +
          124  +			# If the package version was unspecified, fully resolve
          125  +			# the directory that we found
          126  +			if [ -z "${pkgversion}" ]; then
          127  +				pkgdir="$(readlink -f "${pkgdir}")"
          128  +			fi
          129  +
   121    130   				pkgfound='1'
   122         -			fi
   123    131   
   124    132   			for pkgchange in "${pkgchanges[@]}"; do
   125    133   				case "${pkgchange}" in
   126    134   					CFLAGS)
   127    135   						CFLAGS="${CFLAGS} -I${pkgdir}/include"
   128    136   						CPPFLAGS="${CPPFLAGS} -I${pkgdir}/include"
   129    137   						export CFLAGS CPPFLAGS