termux-packages/packages/alpine/imap-src-oadep-unix-Makefile.patch
2022-02-26 14:46:07 +00:00

12 lines
463 B
Diff

--- ./imap/src/osdep/unix/Makefile.orig 2022-02-26 17:18:02.112614766 +0530
+++ ./imap/src/osdep/unix/Makefile 2022-02-26 17:19:17.082614738 +0530
@@ -411,7 +411,7 @@
SPOOLDIR=/var/spool \
ACTIVEFILE=/var/lib/news/active \
RSHPATH=/usr/bin/rcmd \
- BASECFLAGS="$(GCCCFLAGS) -I/usr/include -L/lib" \
+ BASECFLAGS="$(GCCCFLAGS) -I@TERMUX_PREFIX@/include -L@TERMUX_PREFIX@/lib" \
BASELDFLAGS="-lsocket -lprot -lx -ltinfo -lm" \
RANLIB=true CC=gcc