summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Joseph Barnhart Clark <dclark@pobox.com>2006-10-05 15:10:56 +0000
committerDaniel Joseph Barnhart Clark <dclark@pobox.com>2006-10-05 15:10:56 +0000
commit26b457128a84dbd1777e8c04fd1fbb4baadaf776 (patch)
treef43210d27d36a08ff58acdc51401b1d1a8414a4e
parent58bcd764f4bf394ee9d22953900547fd4d60cf45 (diff)
downloadbcfg2-26b457128a84dbd1777e8c04fd1fbb4baadaf776.tar.gz
bcfg2-26b457128a84dbd1777e8c04fd1fbb4baadaf776.tar.bz2
bcfg2-26b457128a84dbd1777e8c04fd1fbb4baadaf776.zip
EncapPackages: Changes for AIX 4.3.1
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2387 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--encap/epkg/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/encap/epkg/Makefile b/encap/epkg/Makefile
index e04f9e8fe..a96bded8e 100644
--- a/encap/epkg/Makefile
+++ b/encap/epkg/Makefile
@@ -7,7 +7,7 @@ BASEDIR = /usr/local
ENCAPDIR = ${BASEDIR}/encap
PREFIX = /tmp/epkg-static-libs
PATH = ${PREFIX}/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/local/bin:/opt/csw/bin:/usr/sbin:/usr/bin:/bin
-CC = gcc
+CC = gcc -static-libgcc
LDFLAGS = -L${PREFIX}/lib
CPPFLAGS = -I${PREFIX}/include
export PATH LDFLAGS CPPFLAGS
@@ -29,7 +29,12 @@ libtar:
cd ${LIBTAR} && ./configure --disable-encap --disable-epkg-install --prefix=${PREFIX} && $(MAKE) && $(MAKE) install
openssl:
- cd ${OPENSSL} && ./config --prefix=${PREFIX} zlib no-asm no-shared && $(MAKE) && $(MAKE) install
+ cd ${OPENSSL} && cat config | sed s:CC\=ccc:CC\=gcc:g | sed s:CC\=cc:CC\=gcc:g > config.nasa
+ cd ${OPENSSL} && mv config config.orig
+ cd ${OPENSSL} && cp config.nasa config
+ cd ${OPENSSL} && chmod 755 config
+ (cd ${OPENSSL} && ./config --prefix=${PREFIX} zlib no-asm no-shared && $(MAKE) && $(MAKE) install) || (cd ${OPENSSL} && mv config.orig config)
+ cd ${OPENSSL} && mv config.orig config
curl:
cd ${CURL} && ./configure --disable-ipv6 --disable-shared --prefix=${PREFIX} && $(MAKE) && $(MAKE) install