pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/pkgformat/pkg mk/pkgformat/pkg: Fix deinstall of cr...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a3edad221af3
branches: trunk
changeset: 376283:a3edad221af3
user: riastradh <riastradh%pkgsrc.org@localhost>
date: Mon Apr 04 11:40:20 2022 +0000
description:
mk/pkgformat/pkg: Fix deinstall of cross-built package.
diffstat:
mk/pkgformat/pkg/deinstall.mk | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 9cd3a72b8472 -r a3edad221af3 mk/pkgformat/pkg/deinstall.mk
--- a/mk/pkgformat/pkg/deinstall.mk Mon Apr 04 11:23:18 2022 +0000
+++ b/mk/pkgformat/pkg/deinstall.mk Mon Apr 04 11:40:20 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: deinstall.mk,v 1.3 2017/08/19 00:30:19 jlam Exp $
+# $NetBSD: deinstall.mk,v 1.4 2022/04/04 11:40:20 riastradh Exp $
# Set the appropriate flags to pass to pkg_delete(1) based on the value
# of DEINSTALLDEPENDS (see pkgsrc/mk/install/deinstall.mk).
@@ -25,6 +25,10 @@
. endif
.endif
+.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
+_PKG_ARGS_DEINSTALL+= -p ${_CROSS_DESTDIR}${PREFIX}
+.endif
+
# _pkgformat-deinstall:
# Removes a package from the system.
#
Home |
Main Index |
Thread Index |
Old Index