Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issues in post-link scripts #7

Merged
merged 4 commits into from
Mar 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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