summaryrefslogtreecommitdiff
path: root/sysutils/imx_usb_loader/patches/patch-Makefile
blob: b68165ab6b8a9f2250ec276cba21508d8e5d86f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$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