$NetBSD: patch-support_refc_Makefile,v 1.2 2023/11/07 03:40:19 pho Exp $ Add DESTDIR support. Already done in upstream Git HEAD. --- support/refc/Makefile.orig 2023-11-04 13:10:04.366066212 +0000 +++ support/refc/Makefile @@ -43,5 +43,5 @@ cleandep: clean .PHONY: install install: build - mkdir -p ${PREFIX}/idris2-${IDRIS2_VERSION}/support/refc - install -m 644 $(LIBTARGET) *.h ${PREFIX}/idris2-${IDRIS2_VERSION}/support/refc + mkdir -p ${DESTDIR}${PREFIX}/idris2-${IDRIS2_VERSION}/support/refc + install -m 644 $(LIBTARGET) *.h ${DESTDIR}${PREFIX}/idris2-${IDRIS2_VERSION}/support/refc