Diff

Differences From Artifact [9e4a5ea3ad]:

To Artifact [dc0eed1286]:


23
24
25
26
27
28
29
30
31
32





33


34
35
36
37
38
39
40
41
42
43
44
45
fi

(
	rm -rf build
	mkdir build
	cd build/ || exit 1

	tar -zxf "../${SRC}"
	cd "${BUILDDIR}" || exit 1






	mkdir "${WORKDIR}"



	./configure --enable-shared --prefix="${WORKDIR}"
	gmake || exit 1

	rm -rf "${WORKDIR}"
) || exit 1

(
	rm -rf "${PLATDIR}"
	mkdir -p "${PLATDIR}"

	cp "build/${BUILDDIR}/libtls1.6.so" "${PLATDIR}/"







|


>
>
>
>
>
|
>
>

|

<
<







23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43


44
45
46
47
48
49
50
fi

(
	rm -rf build
	mkdir build
	cd build/ || exit 1

	gzip -dc "../${SRC}" | tar -xf -
	cd "${BUILDDIR}" || exit 1

	for chkssldir in $(pkg-config openssl --cflags | sed 's@ *-I *@|@g' | tr '|' "\n" | grep '^/'); do
		if [ -f "${chkssldir}/openssl/opensslv.h" -o -f "${chkssldir}/opensslv.h" ]; then
			SSLDIR=$(echo "${chkssldir}" | sed 's@/[^/]*/*$@@')
		fi
	done
	if [ -z "${SSLDIR}" ]; then
		SSLDIR="/usr"
	fi

	./configure --enable-shared --with-tcl="${TCLCONFIGDIR}" --with-ssl-dir="${SSLDIR}"
	gmake || exit 1


) || exit 1

(
	rm -rf "${PLATDIR}"
	mkdir -p "${PLATDIR}"

	cp "build/${BUILDDIR}/libtls1.6.so" "${PLATDIR}/"