diff options
author | Daniel Joseph Barnhart Clark <dclark@pobox.com> | 2006-07-25 17:18:08 +0000 |
---|---|---|
committer | Daniel Joseph Barnhart Clark <dclark@pobox.com> | 2006-07-25 17:18:08 +0000 |
commit | cf89f43f19a8fe195204ede38733fbb61255f08b (patch) | |
tree | 87fde2f057c8dd8988042b20881fa53617ef5b1a /encap | |
parent | ad23004f5fe4317028f3e5e712ad9514605abf5b (diff) | |
download | bcfg2-cf89f43f19a8fe195204ede38733fbb61255f08b.tar.gz bcfg2-cf89f43f19a8fe195204ede38733fbb61255f08b.tar.bz2 bcfg2-cf89f43f19a8fe195204ede38733fbb61255f08b.zip |
Added Solaris support. Tested/seems to work with Solaris 10/Sparc.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2003 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'encap')
-rw-r--r-- | encap/bcfg2-0.8.2.profile | 6 | ||||
-rw-r--r-- | encap/bcfg2-gettext-0.14.5.profile | 6 | ||||
-rw-r--r-- | encap/bcfg2-libiconv-1.9.2.profile | 6 | ||||
-rw-r--r-- | encap/bcfg2-libxml2-2.6.26.profile | 6 | ||||
-rw-r--r-- | encap/bcfg2-libxslt-1.1.17.profile | 6 | ||||
-rw-r--r-- | encap/bcfg2-lxml-1.0.1.profile | 6 | ||||
-rw-r--r-- | encap/bcfg2-openssl-0.9.8b.profile | 6 | ||||
-rw-r--r-- | encap/bcfg2-patch-2.5.9.profile | 9 | ||||
-rw-r--r-- | encap/bcfg2-pkg-config-0.20.profile | 6 | ||||
-rw-r--r-- | encap/bcfg2-pyopenssl-0.6.profile | 6 | ||||
-rw-r--r-- | encap/bcfg2-pyrex-0.9.4.1.profile | 6 | ||||
-rw-r--r-- | encap/bcfg2-python-2.4.3.profile | 9 | ||||
-rw-r--r-- | encap/bcfg2-zlib-1.2.3.profile | 15 | ||||
-rwxr-xr-x | encap/m4-1.4.4.sh | 7 |
14 files changed, 96 insertions, 4 deletions
diff --git a/encap/bcfg2-0.8.2.profile b/encap/bcfg2-0.8.2.profile index 4163773e1..63089a7f5 100644 --- a/encap/bcfg2-0.8.2.profile +++ b/encap/bcfg2-0.8.2.profile @@ -15,7 +15,11 @@ <environment variable="PATH" +PLATFORM_IF_MATCH(solaris) + value="/usr/local/lib/bcfg2/bin:/usr/local/bin:/usr/sfw/bin:/usr/ccs/bin:" +PLATFORM_ELSE value="/usr/local/lib/bcfg2/bin:/usr/local/bin:" +PLATFORM_ENDIF type="prepend" /> @@ -34,6 +38,8 @@ PLATFORM_IF_MATCH(linux) value="-L/usr/local/lib/bcfg2/lib -Wl,-rpath,/usr/local/lib/bcfg2/lib" PLATFORM_ELSE_IF_MATCH(aix) value="-L/usr/local/lib/bcfg2/lib -Wl,-blibpath:/usr/local/lib/bcfg2/lib:/usr/lib" +PLATFORM_ELSE_IF_MATCH(solaris) + value="-L/usr/local/lib/bcfg2/lib -R/usr/local/lib/bcfg2/lib:/usr/lib -YP,/usr/local/lib/bcfg2/lib:/usr/lib" PLATFORM_ELSE PLATFORM_ENDIF type="set" diff --git a/encap/bcfg2-gettext-0.14.5.profile b/encap/bcfg2-gettext-0.14.5.profile index 75ac1ba2b..6b02e82aa 100644 --- a/encap/bcfg2-gettext-0.14.5.profile +++ b/encap/bcfg2-gettext-0.14.5.profile @@ -15,7 +15,11 @@ <environment variable="PATH" +PLATFORM_IF_MATCH(solaris) + value="/usr/local/lib/bcfg2/bin:/usr/local/bin:/usr/sfw/bin:/usr/ccs/bin:" +PLATFORM_ELSE value="/usr/local/lib/bcfg2/bin:/usr/local/bin:" +PLATFORM_ENDIF type="prepend" /> @@ -34,6 +38,8 @@ PLATFORM_IF_MATCH(linux) value="-L/usr/local/lib/bcfg2/lib -Wl,-rpath,/usr/local/lib/bcfg2/lib" PLATFORM_ELSE_IF_MATCH(aix) value="-L/usr/local/lib/bcfg2/lib -Wl,-blibpath:/usr/local/lib/bcfg2/lib:/usr/lib" +PLATFORM_ELSE_IF_MATCH(solaris) + value="-L/usr/local/lib/bcfg2/lib -R/usr/local/lib/bcfg2/lib:/usr/lib -YP,/usr/local/lib/bcfg2/lib:/usr/lib" PLATFORM_ELSE PLATFORM_ENDIF type="set" diff --git a/encap/bcfg2-libiconv-1.9.2.profile b/encap/bcfg2-libiconv-1.9.2.profile index 4cbea5057..2a69f638d 100644 --- a/encap/bcfg2-libiconv-1.9.2.profile +++ b/encap/bcfg2-libiconv-1.9.2.profile @@ -15,7 +15,11 @@ <environment variable="PATH" +PLATFORM_IF_MATCH(solaris) + value="/usr/local/lib/bcfg2/bin:/usr/local/bin:/usr/sfw/bin:/usr/ccs/bin:" +PLATFORM_ELSE value="/usr/local/lib/bcfg2/bin:/usr/local/bin:" +PLATFORM_ENDIF type="prepend" /> @@ -34,6 +38,8 @@ PLATFORM_IF_MATCH(linux) value="-L/usr/local/lib/bcfg2/lib -Wl,-rpath,/usr/local/lib/bcfg2/lib" PLATFORM_ELSE_IF_MATCH(aix) value="-L/usr/local/lib/bcfg2/lib -Wl,-blibpath:/usr/local/lib/bcfg2/lib:/usr/lib" +PLATFORM_ELSE_IF_MATCH(solaris) + value="-L/usr/local/lib/bcfg2/lib -R/usr/local/lib/bcfg2/lib:/usr/lib -YP,/usr/local/lib/bcfg2/lib:/usr/lib" PLATFORM_ELSE PLATFORM_ENDIF type="set" diff --git a/encap/bcfg2-libxml2-2.6.26.profile b/encap/bcfg2-libxml2-2.6.26.profile index 9d476292c..7d73fb828 100644 --- a/encap/bcfg2-libxml2-2.6.26.profile +++ b/encap/bcfg2-libxml2-2.6.26.profile @@ -15,7 +15,11 @@ <environment variable="PATH" +PLATFORM_IF_MATCH(solaris) + value="/usr/local/lib/bcfg2/bin:/usr/local/bin:/usr/sfw/bin:/usr/ccs/bin:" +PLATFORM_ELSE value="/usr/local/lib/bcfg2/bin:/usr/local/bin:" +PLATFORM_ENDIF type="prepend" /> @@ -34,6 +38,8 @@ PLATFORM_IF_MATCH(linux) value="-L/usr/local/lib/bcfg2/lib -Wl,-rpath,/usr/local/lib/bcfg2/lib" PLATFORM_ELSE_IF_MATCH(aix) value="-L/usr/local/lib/bcfg2/lib -Wl,-blibpath:/usr/local/lib/bcfg2/lib:/usr/lib" +PLATFORM_ELSE_IF_MATCH(solaris) + value="-L/usr/local/lib/bcfg2/lib -R/usr/local/lib/bcfg2/lib:/usr/lib -YP,/usr/local/lib/bcfg2/lib:/usr/lib" PLATFORM_ELSE PLATFORM_ENDIF type="set" diff --git a/encap/bcfg2-libxslt-1.1.17.profile b/encap/bcfg2-libxslt-1.1.17.profile index 0e832e5b2..30192eee4 100644 --- a/encap/bcfg2-libxslt-1.1.17.profile +++ b/encap/bcfg2-libxslt-1.1.17.profile @@ -15,7 +15,11 @@ <environment variable="PATH" +PLATFORM_IF_MATCH(solaris) + value="/usr/local/lib/bcfg2/bin:/usr/local/bin:/usr/sfw/bin:/usr/ccs/bin:" +PLATFORM_ELSE value="/usr/local/lib/bcfg2/bin:/usr/local/bin:" +PLATFORM_ENDIF type="prepend" /> @@ -34,6 +38,8 @@ PLATFORM_IF_MATCH(linux) value="-L/usr/local/lib/bcfg2/lib -Wl,-rpath,/usr/local/lib/bcfg2/lib" PLATFORM_ELSE_IF_MATCH(aix) value="-L/usr/local/lib/bcfg2/lib -Wl,-blibpath:/usr/local/lib/bcfg2/lib:/usr/lib" +PLATFORM_ELSE_IF_MATCH(solaris) + value="-L/usr/local/lib/bcfg2/lib -R/usr/local/lib/bcfg2/lib:/usr/lib -YP,/usr/local/lib/bcfg2/lib:/usr/lib" PLATFORM_ELSE PLATFORM_ENDIF type="set" diff --git a/encap/bcfg2-lxml-1.0.1.profile b/encap/bcfg2-lxml-1.0.1.profile index d2f96f9df..f7c7080bb 100644 --- a/encap/bcfg2-lxml-1.0.1.profile +++ b/encap/bcfg2-lxml-1.0.1.profile @@ -15,7 +15,11 @@ <environment variable="PATH" +PLATFORM_IF_MATCH(solaris) + value="/usr/local/lib/bcfg2/bin:/usr/local/bin:/usr/sfw/bin:/usr/ccs/bin:" +PLATFORM_ELSE value="/usr/local/lib/bcfg2/bin:/usr/local/bin:" +PLATFORM_ENDIF type="prepend" /> @@ -34,6 +38,8 @@ PLATFORM_IF_MATCH(linux) value="-L/usr/local/lib/bcfg2/lib -lexslt -L/usr/local/lib/bcfg2/lib/python2.4/site-packages -Wl,-rpath,/usr/local/lib/bcfg2/lib -Wl,-rpath,/usr/local/lib/bcfg2/lib/python2.4/site-packages" PLATFORM_ELSE_IF_MATCH(aix) value="-L/usr/local/lib/bcfg2/lib -lexslt -L/usr/local/lib/bcfg2/lib/python2.4/site-packages -Wl,-blibpath:/usr/local/lib/bcfg2/lib:/usr/local/lib/bcfg2/lib/python2.4/site-packages:/usr/lib" +PLATFORM_ELSE_IF_MATCH(solaris) + value="-L/usr/local/lib/bcfg2/lib -lexslt -L/usr/local/lib/bcfg2/lib/python2.4/site-packages -R/usr/local/lib/bcfg2/lib:/usr/local/lib/bcfg2/lib/python2.4/site-packages:/usr/lib -YP,/usr/local/lib/bcfg2/lib:/usr/local/lib/bcfg2/lib/python2.4/site-packages:/usr/lib" PLATFORM_ELSE PLATFORM_ENDIF type="set" diff --git a/encap/bcfg2-openssl-0.9.8b.profile b/encap/bcfg2-openssl-0.9.8b.profile index 2cf8cb9f9..76202ab5d 100644 --- a/encap/bcfg2-openssl-0.9.8b.profile +++ b/encap/bcfg2-openssl-0.9.8b.profile @@ -15,7 +15,11 @@ <environment variable="PATH" +PLATFORM_IF_MATCH(solaris) + value="/usr/local/lib/bcfg2/bin:/usr/local/bin:/usr/sfw/bin:/usr/ccs/bin:" +PLATFORM_ELSE value="/usr/local/lib/bcfg2/bin:/usr/local/bin:" +PLATFORM_ENDIF type="prepend" /> @@ -34,6 +38,8 @@ PLATFORM_IF_MATCH(linux) value="-L/usr/local/lib/bcfg2/lib -Wl,-rpath,/usr/local/lib/bcfg2/lib" PLATFORM_ELSE_IF_MATCH(aix) value="-L/usr/local/lib/bcfg2/lib -Wl,-blibpath:/usr/local/lib/bcfg2/lib:/usr/lib" +PLATFORM_ELSE_IF_MATCH(solaris) + value="-L/usr/local/lib/bcfg2/lib -R/usr/local/lib/bcfg2/lib:/usr/lib -YP,/usr/local/lib/bcfg2/lib:/usr/lib" PLATFORM_ELSE PLATFORM_ENDIF type="set" diff --git a/encap/bcfg2-patch-2.5.9.profile b/encap/bcfg2-patch-2.5.9.profile index de55fccee..c2de3cfbc 100644 --- a/encap/bcfg2-patch-2.5.9.profile +++ b/encap/bcfg2-patch-2.5.9.profile @@ -15,7 +15,11 @@ <environment variable="PATH" +PLATFORM_IF_MATCH(solaris) + value="/usr/local/lib/bcfg2/bin:/usr/local/bin:/usr/sfw/bin:/usr/ccs/bin:" +PLATFORM_ELSE value="/usr/local/lib/bcfg2/bin:/usr/local/bin:" +PLATFORM_ENDIF type="prepend" /> @@ -33,8 +37,9 @@ PLATFORM_ENDIF PLATFORM_IF_MATCH(linux) value="-L/usr/local/lib/bcfg2/lib -Wl,-rpath,/usr/local/lib/bcfg2/lib" PLATFORM_ELSE_IF_MATCH(aix) - value="-L/usr/local/lib/bcfg2/lib -Wl,-blibpath:/usr/local/lib/bcfg2/li\ -b:/usr/lib" + value="-L/usr/local/lib/bcfg2/lib -Wl,-blibpath:/usr/local/lib/bcfg2/lib:/usr/lib" +PLATFORM_ELSE_IF_MATCH(solaris) + value="-L/usr/local/lib/bcfg2/lib -R/usr/local/lib/bcfg2/lib:/usr/lib -YP,/usr/local/lib/bcfg2/lib:/usr/lib" PLATFORM_ELSE PLATFORM_ENDIF type="set" diff --git a/encap/bcfg2-pkg-config-0.20.profile b/encap/bcfg2-pkg-config-0.20.profile index 42aa705df..2b1a7e15a 100644 --- a/encap/bcfg2-pkg-config-0.20.profile +++ b/encap/bcfg2-pkg-config-0.20.profile @@ -15,7 +15,11 @@ <environment variable="PATH" +PLATFORM_IF_MATCH(solaris) + value="/usr/local/lib/bcfg2/bin:/usr/local/bin:/usr/sfw/bin:/usr/ccs/bin:" +PLATFORM_ELSE value="/usr/local/lib/bcfg2/bin:/usr/local/bin:" +PLATFORM_ENDIF type="prepend" /> @@ -34,6 +38,8 @@ PLATFORM_IF_MATCH(linux) value="-L/usr/local/lib/bcfg2/lib -Wl,-rpath,/usr/local/lib/bcfg2/lib" PLATFORM_ELSE_IF_MATCH(aix) value="-L/usr/local/lib/bcfg2/lib -Wl,-blibpath:/usr/local/lib/bcfg2/lib:/usr/lib" +PLATFORM_ELSE_IF_MATCH(solaris) + value="-L/usr/local/lib/bcfg2/lib -R/usr/local/lib/bcfg2/lib:/usr/lib -YP,/usr/local/lib/bcfg2/lib:/usr/lib" PLATFORM_ELSE PLATFORM_ENDIF type="set" diff --git a/encap/bcfg2-pyopenssl-0.6.profile b/encap/bcfg2-pyopenssl-0.6.profile index 4e6a9980a..91c902645 100644 --- a/encap/bcfg2-pyopenssl-0.6.profile +++ b/encap/bcfg2-pyopenssl-0.6.profile @@ -15,7 +15,11 @@ <environment variable="PATH" +PLATFORM_IF_MATCH(solaris) + value="/usr/local/lib/bcfg2/bin:/usr/local/bin:/usr/sfw/bin:/usr/ccs/bin:" +PLATFORM_ELSE value="/usr/local/lib/bcfg2/bin:/usr/local/bin:" +PLATFORM_ENDIF type="prepend" /> @@ -34,6 +38,8 @@ PLATFORM_IF_MATCH(linux) value="-L/usr/local/lib/bcfg2/lib -Wl,-rpath,/usr/local/lib/bcfg2/lib" PLATFORM_ELSE_IF_MATCH(aix) value="-L/usr/local/lib/bcfg2/lib -Wl,-blibpath:/usr/local/lib/bcfg2/lib:/usr/lib" +PLATFORM_ELSE_IF_MATCH(solaris) + value="-L/usr/local/lib/bcfg2/lib -R/usr/local/lib/bcfg2/lib:/usr/lib -YP,/usr/local/lib/bcfg2/lib:/usr/lib" PLATFORM_ELSE PLATFORM_ENDIF type="set" diff --git a/encap/bcfg2-pyrex-0.9.4.1.profile b/encap/bcfg2-pyrex-0.9.4.1.profile index f44a72d2c..0c1ece78e 100644 --- a/encap/bcfg2-pyrex-0.9.4.1.profile +++ b/encap/bcfg2-pyrex-0.9.4.1.profile @@ -15,7 +15,11 @@ <environment variable="PATH" +PLATFORM_IF_MATCH(solaris) + value="/usr/local/lib/bcfg2/bin:/usr/local/bin:/usr/sfw/bin:/usr/ccs/bin:" +PLATFORM_ELSE value="/usr/local/lib/bcfg2/bin:/usr/local/bin:" +PLATFORM_ENDIF type="prepend" /> @@ -34,6 +38,8 @@ PLATFORM_IF_MATCH(linux) value="-L/usr/local/lib/bcfg2/lib -Wl,-rpath,/usr/local/lib/bcfg2/lib" PLATFORM_ELSE_IF_MATCH(aix) value="-L/usr/local/lib/bcfg2/lib -Wl,-blibpath:/usr/local/lib/bcfg2/lib:/usr/lib" +PLATFORM_ELSE_IF_MATCH(solaris) + value="-L/usr/local/lib/bcfg2/lib -R/usr/local/lib/bcfg2/lib:/usr/lib -YP,/usr/local/lib/bcfg2/lib:/usr/lib" PLATFORM_ELSE PLATFORM_ENDIF type="set" diff --git a/encap/bcfg2-python-2.4.3.profile b/encap/bcfg2-python-2.4.3.profile index a156ab48f..7d042444e 100644 --- a/encap/bcfg2-python-2.4.3.profile +++ b/encap/bcfg2-python-2.4.3.profile @@ -15,7 +15,11 @@ <environment variable="PATH" +PLATFORM_IF_MATCH(solaris) + value="/usr/local/lib/bcfg2/bin:/usr/local/bin:/usr/sfw/bin:/usr/ccs/bin:" +PLATFORM_ELSE value="/usr/local/lib/bcfg2/bin:/usr/local/bin:" +PLATFORM_ENDIF type="prepend" /> @@ -34,6 +38,8 @@ PLATFORM_IF_MATCH(linux) value="-L/usr/local/lib/bcfg2/lib -Wl,-rpath,/usr/local/lib/bcfg2/lib" PLATFORM_ELSE_IF_MATCH(aix) value="-L/usr/local/lib/bcfg2/lib -Wl,-blibpath:/usr/local/lib/bcfg2/lib:/usr/lib" +PLATFORM_ELSE_IF_MATCH(solaris) + value="-L/usr/local/lib/bcfg2/lib -R/usr/local/lib/bcfg2/lib:/usr/lib -YP,/usr/local/lib/bcfg2/lib:/usr/lib" PLATFORM_ELSE PLATFORM_ENDIF type="set" @@ -53,7 +59,8 @@ PLATFORM_ENDIF <configure> ./configure \ --prefix="${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2" \ -PLATFORM_IF_MATCH(aix) +PLATFORM_IF_MATCH(linux) +PLATFORM_ELSE --with-gcc \ --with-cxx=g++ \ PLATFORM_ENDIF diff --git a/encap/bcfg2-zlib-1.2.3.profile b/encap/bcfg2-zlib-1.2.3.profile index 79756bba5..c6186f341 100644 --- a/encap/bcfg2-zlib-1.2.3.profile +++ b/encap/bcfg2-zlib-1.2.3.profile @@ -15,7 +15,11 @@ <environment variable="PATH" - value="/usr/local/bin:" +PLATFORM_IF_MATCH(solaris) + value="/usr/local/lib/bcfg2/bin:/usr/local/bin:/usr/sfw/bin:/usr/ccs/bin:" +PLATFORM_ELSE + value="/usr/local/lib/bcfg2/bin:/usr/local/bin:" +PLATFORM_ENDIF type="prepend" /> @@ -34,6 +38,8 @@ PLATFORM_IF_MATCH(linux) value="-L/usr/local/lib/bcfg2/lib -Wl,-rpath,/usr/local/lib/bcfg2/lib" PLATFORM_ELSE_IF_MATCH(aix) value="-L/usr/local/lib/bcfg2/lib -Wl,-blibpath:/usr/local/lib/bcfg2/lib:/usr/lib" +PLATFORM_ELSE_IF_MATCH(solaris) + value="-L/usr/local/lib/bcfg2/lib -R/usr/local/lib/bcfg2/lib:/usr/lib -YP,/usr/local/lib/bcfg2/lib:/usr/lib" PLATFORM_ELSE PLATFORM_ENDIF type="set" @@ -45,6 +51,13 @@ PLATFORM_ENDIF type="set" /> +PLATFORM_IF_MATCH(solaris) +<environment + variable="CFLAGS" + type="unset" +/> +PLATFORM_ENDIF + <source url="http://www.pobox.com/users/dclark/mirror/zlib-1.2.3.tar.gz http://www.zlib.net/zlib-1.2.3.tar.gz" diff --git a/encap/m4-1.4.4.sh b/encap/m4-1.4.4.sh index b2268bfd0..8d1ffa768 100755 --- a/encap/m4-1.4.4.sh +++ b/encap/m4-1.4.4.sh @@ -25,6 +25,13 @@ cat > ${ENCAP_PKGNAME}.profile << EOF type="prepend" /> + +<environment + variable="PATH" + value=":/usr/sfw/bin:/usr/ccs/bin" + type="append" +/> + <source url="http://www.pobox.com/users/dclark/mirror/m4-1.4.4.tar.gz http://ftp.gnu.org/gnu/m4/m4-1.4.4.tar.gz" |