$NetBSD: patch-support_chez_Makefile,v 1.2 2023/11/07 03:40:19 pho Exp $ Add DESTDIR support. Already done in upstream Git HEAD. --- support/chez/Makefile.orig 2023-11-04 13:10:25.634724475 +0000 +++ support/chez/Makefile @@ -10,8 +10,8 @@ clean: build: support-sep.ss install: build - mkdir -p ${PREFIX}/idris2-${IDRIS2_VERSION}/support/chez - install -m 644 *.ss ${PREFIX}/idris2-${IDRIS2_VERSION}/support/chez + mkdir -p ${DESTDIR}${PREFIX}/idris2-${IDRIS2_VERSION}/support/chez + install -m 644 *.ss ${DESTDIR}${PREFIX}/idris2-${IDRIS2_VERSION}/support/chez support-sep.ss: support.ss # start library header