-
-
Notifications
You must be signed in to change notification settings - Fork 491
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #29779: pkgconf: Update to 1.8.0, remove runtime dep on environm…
…ent variable SAGE_LOCAL (from #29411) We upgrade pkgconf from the ancient version 0.9.7 and make it work outside of `sage-env`. URL: https://trac.sagemath.org/29779 Reported by: mkoeppe Ticket author(s): Matthias Koeppe Reviewer(s): Dima Pasechnik
- Loading branch information
Showing
7 changed files
with
13 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
tarball=pkgconf-VERSION.tar.gz | ||
sha1=9943ba508c3293cd3afb5187f633104f8305af42 | ||
md5=56837bbee89a542ffe7012b4a52caf5b | ||
cksum=320066684 | ||
tarball=pkgconf-VERSION.tar.xz | ||
sha1=2b76eb2d88b2c4aecba937b337d218a13b67f14b | ||
md5=823212dc241793df8ff1d097769a3473 | ||
cksum=896868382 | ||
upstream_url=https://distfiles.dereferenced.org/pkgconf/pkgconf-VERSION.tar.xz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
| patch | ||
| patch xz | ||
|
||
---------- | ||
All lines of this file are ignored except the first. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.9.7.p2 | ||
1.8.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
if [ -z "$SAGE_LOCAL" ]; then | ||
echo >&2 "This script requires that SAGE_LOCAL is set." | ||
exit 1 | ||
fi | ||
|
||
if [ -z "$PKG_CONFIG_PATH" ]; then | ||
export PKG_CONFIG_PATH="$SAGE_LOCAL/lib/pkgconfig:$SAGE_LOCAL/share/pkgconfig" | ||
export PKG_CONFIG_PATH="SAGE_LOCAL/lib/pkgconfig:SAGE_LOCAL/share/pkgconfig" | ||
else | ||
export PKG_CONFIG_PATH="$SAGE_LOCAL/lib/pkgconfig:$SAGE_LOCAL/share/pkgconfig:$PKG_CONFIG_PATH" | ||
export PKG_CONFIG_PATH="SAGE_LOCAL/lib/pkgconfig:SAGE_LOCAL/share/pkgconfig:$PKG_CONFIG_PATH" | ||
fi | ||
|
||
dnl Launch system pkg-config or our own pkgconf | ||
define(NEWLINE,` | ||
') | ||
define(PKG_CONFIG_COMMAND, translit(esyscmd(`command -v pkg-config'), NEWLINE)) | ||
exec ifelse(sysval, `0', PKG_CONFIG_COMMAND, `"$SAGE_LOCAL/bin/pkgconf" --keep-system-libs --keep-system-cflags') "$@" | ||
exec ifelse(sysval, `0', PKG_CONFIG_COMMAND, `"SAGE_LOCAL/bin/pkgconf" --keep-system-libs --keep-system-cflags') "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters