mirror of
https://github.com/RGBCube/serenity
synced 2025-07-30 01:27:34 +00:00
Ports: Replace hardcoded Build/ paths with SERENITY_BUILD_DIR
Fixes #5710.
This commit is contained in:
parent
f45e16a6a2
commit
f318ab6bed
29 changed files with 65 additions and 74 deletions
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue