summaryrefslogtreecommitdiffstats
path: root/encap/bcfg2-zlib-1.2.3.profile
diff options
context:
space:
mode:
authorDaniel Joseph Barnhart Clark <dclark@pobox.com>2006-07-25 17:18:08 +0000
committerDaniel Joseph Barnhart Clark <dclark@pobox.com>2006-07-25 17:18:08 +0000
commitcf89f43f19a8fe195204ede38733fbb61255f08b (patch)
tree87fde2f057c8dd8988042b20881fa53617ef5b1a /encap/bcfg2-zlib-1.2.3.profile
parentad23004f5fe4317028f3e5e712ad9514605abf5b (diff)
downloadbcfg2-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/bcfg2-zlib-1.2.3.profile')
-rw-r--r--encap/bcfg2-zlib-1.2.3.profile15
1 files changed, 14 insertions, 1 deletions
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"