Skip to content

Commit

Permalink
Merge pull request #7 from sot/script_errs
Browse files Browse the repository at this point in the history
Fix issues in post-link scripts
  • Loading branch information
jeanconn authored Mar 19, 2019
2 parents b51f903 + 30e7361 commit 5c916ba
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion perl-dbd-sybase/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ source:
build:
# If this is a new build for the same version, increment the build
# number. If you do not include this key, it defaults to 0.
number: 0
number: 1

requirements:
build:
Expand Down
3 changes: 1 addition & 2 deletions perl-dbd-sybase/post-link.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ if [ -e /soft/SYBASE15.7/OCS-15_0/lib ]
then
patchelf --set-rpath /soft/SYBASE15.7/OCS-15_0/lib ${PREFIX}/lib/site_perl/5.26.2/x86_64-linux/auto/DBD/Sybase/Sybase.so
else
echo "Not installing perl-dbd-sybase. /soft/SYBASE15.7 not on this system"
eit 1
echo "Not patching rpath for perl-dbd-sybase. /soft/SYBASE15.7 not on this system"
fi
8 changes: 3 additions & 5 deletions pgplot/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@ source:
# from, it may be coming from a source tarball like:
url: file:///proj/sot/ska/pkgs/pgplot-5.2.2-3_05.tar.gz

build:
number: 1

requirements:
build:
- pkg-config
- libpng
run:
- libpng





5 changes: 4 additions & 1 deletion pgplot/post-link.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash

cd ${PREFIX}/lib
ln -s libcpgplot.so libcpgplot.so.5
if [ ! -e libcpgplot.so.5 ];
then
ln -s libcpgplot.so libcpgplot.so.5
fi

0 comments on commit 5c916ba

Please sign in to comment.