summaryrefslogtreecommitdiff
path: root/Ports/pkgconf/package.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Ports/pkgconf/package.sh')
-rwxr-xr-xPorts/pkgconf/package.sh7
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"
}