From 4f739a6589960ee5d01b194a314dfa07c0d59010 Mon Sep 17 00:00:00 2001 From: phoebos Date: Thu, 2 Mar 2023 09:45:09 +0000 Subject: [PATCH] kiss: don't set DESTDIR in builds (#122) https://codeberg.org/kiss-community/repo/issues/90 Co-authored-by: phoebos Reviewed-on: https://codeberg.org/kiss-community/kiss/pulls/122 Co-authored-by: phoebos Co-committed-by: phoebos --- kiss | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/kiss b/kiss index 6f57355..5ee05d7 100755 --- a/kiss +++ b/kiss @@ -1119,16 +1119,14 @@ pkg_build() { # Give the script a modified environment. Define toolchain program # environment variables assuming a generic environment by default. # - # Define DESTDIR and GOPATH to sane defaults as their use is mandatory - # in anything using autotools, meson, cmake, etc. Define KISS_ROOT as - # the sanitized value used internally by the package manager. This is - # safe to join with other paths. + # Define GOPATH to sane defaults as its use is mandatory for Go projects. + # Define KISS_ROOT as the sanitized value used internally by the package + # manager. This is safe to join with other paths. AR="${AR:-ar}" \ CC="${CC:-cc}" \ CXX="${CXX:-c++}" \ NM="${NM:-nm}" \ RANLIB="${RANLIB:-ranlib}" \ - DESTDIR="$pkg_dir/$1" \ RUSTFLAGS="--remap-path-prefix=$PWD=. $RUSTFLAGS" \ GOFLAGS="-trimpath -modcacherw $GOFLAGS" \ GOPATH="$PWD/go" \