diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template index 6e6ff882fbe..18e56becc4b 100644 --- a/srcpkgs/cgminer/template +++ b/srcpkgs/cgminer/template @@ -24,7 +24,7 @@ pre_configure() { -i configure.ac sed -e 's|^JANSSON_INCLUDES= .*||' \ - -e 's|^USBUTILS_INCLUDES = .*|USBUTILS_INCLUDES = -I/usr/include/libusb-1.0|' \ + -e "s|^USBUTILS_INCLUDES = .*|USBUTILS_INCLUDES = -I${XBPS_CROSS_BASE}/usr/include/libusb-1.0|" \ -e 's|^SUBDIRS.*|SUBDIRS = lib ccan|' \ -i Makefile.am