sysutils/xentools418: replace /usr/pkg in CHECK_RELRO_SKIP with ${PREFIX}

Currently, the package fails to build if ${PREFIX} is not /usr/pkg,
because one file is not skipped in the RELRO check.
This commit is contained in:
brook 2024-01-16 19:49:52 +00:00
parent 8e68b10826
commit 1afd8daf6d
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2024/01/13 20:16:02 gdt Exp $
# $NetBSD: Makefile,v 1.4 2024/01/16 19:49:52 brook Exp $
#
# VERSION is set in version.mk as it is shared with other packages
#PKGREVISION= 1
@ -40,7 +40,7 @@ CHECK_PORTABILITY_SKIP= tools/examples/* \
tools/qemu-xen/scripts/qemu-binfmt-conf.sh
CHECK_RELRO_SKIP= libexec/xen/boot/hvmloader
CHECK_RELRO_SKIP+= libexec/xen/boot/xen-shim
CHECK_RELRO_SKIP+= lib/debug/usr/pkg/libexec/xen/boot/xen-shim-syms
CHECK_RELRO_SKIP+= lib/debug${PREFIX}/libexec/xen/boot/xen-shim-syms
EGDIR= ${PREFIX}/share/examples/xen
MESSAGE_SUBST+= EGDIR=${EGDIR}