diff options
author | Linus Groh <mail@linusgroh.de> | 2021-03-11 19:50:44 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-03-11 21:01:29 +0100 |
commit | f318ab6bed4603a18198b36da682b6fd36a68f91 (patch) | |
tree | 8e602fa2cc198f8a457c8fcf2c20f61ad63eebc9 /Ports/pkgconf/package.sh | |
parent | f45e16a6a219e50124c57d031bd7738717c956af (diff) | |
download | serenity-f318ab6bed4603a18198b36da682b6fd36a68f91.zip |
Ports: Replace hardcoded Build/ paths with SERENITY_BUILD_DIR
Fixes #5710.
Diffstat (limited to 'Ports/pkgconf/package.sh')
-rwxr-xr-x | Ports/pkgconf/package.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Ports/pkgconf/package.sh b/Ports/pkgconf/package.sh index d1a6d0be80..0940cefdbb 100755 --- a/Ports/pkgconf/package.sh +++ b/Ports/pkgconf/package.sh @@ -3,10 +3,11 @@ port=pkgconf version=1.7.3 files="https://distfiles.dereferenced.org/pkgconf/pkgconf-1.7.3.tar.xz pkgconf-1.7.3.tar.xz" useconfigure=true -usr_local=$SERENITY_ROOT/Build/Root/usr/local/ +# FIXME: This looks suspiciously host-y... configopts="--prefix=/usr/local --with-pkg-config-dir=/usr/local/lib/pkgconfig" post_install() { - mkdir -p $SERENITY_ROOT/Build/Root/bin - ln -sf /usr/local/bin/pkgconf $SERENITY_ROOT/Build/Root/usr/local/bin/pkg-config + run mkdir -p "${SERENITY_BUILD_DIR}/Root/bin" + # FIXME: Same here, what is this about?! + run ln -sf /usr/local/bin/pkgconf "${SERENITY_BUILD_DIR}/Root/usr/local/bin/pkg-config" } |