summaryrefslogtreecommitdiffstats
path: root/encap/bcfg2-python-2.4.3.ep
diff options
context:
space:
mode:
authorDaniel Joseph Barnhart Clark <dclark@pobox.com>2006-08-06 23:42:58 +0000
committerDaniel Joseph Barnhart Clark <dclark@pobox.com>2006-08-06 23:42:58 +0000
commit36ce9b2512f578d754a462a7b858306528256aaf (patch)
treecc167737a78b0d076b2a0f14d53f4babe1ce0bad /encap/bcfg2-python-2.4.3.ep
parent72ee96d0ad6e1647430ee39a7a0f5e50612ce3cf (diff)
downloadbcfg2-36ce9b2512f578d754a462a7b858306528256aaf.tar.gz
bcfg2-36ce9b2512f578d754a462a7b858306528256aaf.tar.bz2
bcfg2-36ce9b2512f578d754a462a7b858306528256aaf.zip
Ugly sed hack to try to get "from httplib import HTTPS" working on
Solaris git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2052 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'encap/bcfg2-python-2.4.3.ep')
-rw-r--r--encap/bcfg2-python-2.4.3.ep10
1 files changed, 10 insertions, 0 deletions
diff --git a/encap/bcfg2-python-2.4.3.ep b/encap/bcfg2-python-2.4.3.ep
index d72d969b5..f62184a08 100644
--- a/encap/bcfg2-python-2.4.3.ep
+++ b/encap/bcfg2-python-2.4.3.ep
@@ -57,6 +57,14 @@ PLATFORM_ENDIF
>
<configure>
+cat setup.py \
+| sed s:\/usr\/local\/:\/usr\/local\/lib\/bcfg2\/:g \
+| sed s:\/usr\/local\/lib\/bcfg2\/ssl\/include:\/usr\/local\/lib\/bcfg2\/include:g \
+| sed s:\/usr\/contrib\/ssl\/include\/:\/usr\/local\/lib\/bcfg2\/include\/openssl\/:g \
+| sed s:\/usr\/local\/lib\/bcfg2\/ssl\/lib:\/usr\/local\/lib\/bcfg2\/lib:g \
+> setup.py.bcfg2
+mv setup.py setup.py.orig
+cp setup.py.bcfg2 setup.py
./configure \
--prefix="${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2" \
PLATFORM_IF_MATCH(linux)
@@ -71,6 +79,8 @@ PLATFORM_ENDIF
</source>
<prepackage><![CDATA[
+rm ${builddir}/setup.py
+cp ${builddir}/setup.py.orig ${builddir}/setup.py
echo /usr/local/lib/bcfg2/lib/python2.4/site-packages > lib/bcfg2/lib/python2.4/site-packages/usr-local-lib-bcfg2.pth
mkdir bin 2>/dev/null || exit 0
ln -sf ../lib/bcfg2/bin/idle bin/b2-idle