$NetBSD: patch-Makefile,v 1.1 2021/02/21 12:33:32 martin Exp $ realpath is not very portable, do not override install dirs --- Makefile.orig 2020-05-17 03:45:34.000000000 +0000 +++ Makefile @@ -17,7 +17,7 @@ else USBCFLAGS = -I/usr/include/libusb-1.0 USBLDFLAGS = -L/usr/lib -lusb-1.0 endif -CONFCPPFLAGS = -DSYSCONFDIR='"$(sysconfdir)"' -DREL_SYSCONFDIR='"$(rel_sysconfdir)"' +CONFCPPFLAGS = -DSYSCONFDIR='"$(sysconfdir)"' -DREL_SYSCONFDIR='"$(sysconfdir)"' CFLAGS ?= -Wall -Wstrict-prototypes -Wno-trigraphs imx_usb.o : imx_usb.c imx_sdp.h imx_loader_config.h portable.h