Diff

Differences From Artifact [9552d0e034]:

To Artifact [68229c87b4]:


110
111
112
113
114
115
116
117

118
119
120
121








122


123
124
125
126
127
128
129
110
111
112
113
114
115
116

117
118
119


120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137







-
+


-
-
+
+
+
+
+
+
+
+

+
+







		esac

		if [ -z "${pkgdomain}" ]; then
			pkgdomain="${domain}"
		fi

		pkgfound='0'
		for pkgdir in "/opt/appfs/${pkgdomain}/${pkg}/platform"/${pkgversion:-*}; do
		for pkgdir in "/opt/appfs/${pkgdomain}/${pkg}/platform"/${pkgversion:-latest} "/opt/appfs/${pkgdomain}/${pkg}/platform"/${pkgversion:-*}; do
			pkgconfigdir="${pkgdir}/lib/pkgconfig"

			if [ -d "${pkgdir}" ]; then
				pkgfound='1'
			if [ ! -d "${pkgdir}" ]; then
				continue
			fi

			# If the package version was unspecified, fully resolve
			# the directory that we found
			if [ -z "${pkgversion}" ]; then
				pkgdir="$(readlink -f "${pkgdir}")"
			fi

			pkgfound='1'

			for pkgchange in "${pkgchanges[@]}"; do
				case "${pkgchange}" in
					CFLAGS)
						CFLAGS="${CFLAGS} -I${pkgdir}/include"
						CPPFLAGS="${CPPFLAGS} -I${pkgdir}/include"
						export CFLAGS CPPFLAGS