freebsd-ports/comms/uartlirc/files/patch-Makefile
Juergen Lock 7c5f5f859c (Attempt to) fix build on head after removal of @ symlink. (r274184)
Submitted by:	beefy1 via pkg-fallout
2014-11-14 18:51:33 +00:00

23 lines
654 B
Text

--- Makefile.orig
+++ Makefile
@@ -26,10 +26,10 @@ MFILES= dev/pccard/card_if.m dev/pccard/
kern/device_if.m kern/serdev_if.m
uartlirc_if.h: uartlirc_if.m
- ${AWK} -f @/tools/makeobjops.awk uartlirc_if.m -h
+ ${AWK} -f ${SYSDIR}/tools/makeobjops.awk uartlirc_if.m -h
uartlirc_if.c: uartlirc_if.m
- ${AWK} -f @/tools/makeobjops.awk uartlirc_if.m -c
+ ${AWK} -f ${SYSDIR}/tools/makeobjops.awk uartlirc_if.m -c
devuart:
mkdir -p uart
@@ -43,6 +43,6 @@ devuart:
done
clean:
- @-rm -r uart @ machine x86 *.bak *.o *.ko* *_if.[ch] pccarddevs.h
+ @-rm -r uart ${_ILINKS} *.bak *.orig *.o *.ko* *_if.[ch] pccarddevs.h
.include <bsd.kmod.mk>