From f318ab6bed4603a18198b36da682b6fd36a68f91 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Thu, 11 Mar 2021 19:50:44 +0100 Subject: Ports: Replace hardcoded Build/ paths with SERENITY_BUILD_DIR Fixes #5710. --- Ports/pkgconf/package.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Ports/pkgconf') 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" } -- cgit v1.2.3