termux-packages/packages/mg/GNUmakefile.patch
Henrik Grimler 9e30e6de78
mg: set -fcommon and avoid overriding step_make_install
Fixes build with ndk-r23, and avoids overriding
termux_step_make_install for no good reason.
2021-11-10 21:44:42 +01:00

17 lines
401 B
Diff

--- ./GNUmakefile.orig 2021-11-10 19:35:46.973265640 +0000
+++ ./GNUmakefile 2021-11-10 19:34:58.803308861 +0000
@@ -7,11 +7,11 @@
name= mg
-prefix= /usr/local
+prefix?= /usr/local
bindir= $(prefix)/bin
libdir= $(prefix)/lib
includedir= $(prefix)/include
-mandir= $(prefix)/man
+mandir= $(prefix)/share/man
PKG_CONFIG= /usr/bin/pkg-config --silence-errors
INSTALL= /usr/bin/install