termux-packages/packages/dnsmap/Makefile.patch

13 lines
345 B
Diff
Raw Normal View History

2020-02-24 21:01:58 +01:00
diff -uNr dnsmap-0.30/Makefile dnsmap-0.30-mod/Makefile
--- dnsmap-0.30/Makefile 2010-02-21 17:39:40.000000000 +0600
+++ dnsmap-0.30-mod/Makefile 2020-02-24 21:09:26.947091182 +0600
@@ -1,6 +1,6 @@
-CC=gcc
+CC?=gcc
CFLAGS=-I.
-BINDIR=/usr/local/bin
+BINDIR=@TERMUX_PREFIX@/bin
dnsmap: dnsmap.c dnsmap.h
$(CC) $(CFLAGS) -o dnsmap dnsmap.c