aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gettext-tiny/respect-cflags.patch
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.eu>2020-04-06 08:55:33 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-04-14 16:33:50 +0000
commit21a0cfd664ae1b0066b1543e3b140665a49ffc42 (patch)
treeca6580b46b1fff62ec1228fbd5aa07af54e59a3e /testing/gettext-tiny/respect-cflags.patch
parent214d886327c2da9d8e202951c80dd10d3dcc9dce (diff)
downloadaports-21a0cfd664ae1b0066b1543e3b140665a49ffc42.tar.bz2
aports-21a0cfd664ae1b0066b1543e3b140665a49ffc42.tar.xz
testing/gettext-tiny: new aport
Patches from adelie.
Diffstat (limited to 'testing/gettext-tiny/respect-cflags.patch')
-rw-r--r--testing/gettext-tiny/respect-cflags.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/gettext-tiny/respect-cflags.patch b/testing/gettext-tiny/respect-cflags.patch
new file mode 100644
index 0000000000..dd1cf3fe2c
--- /dev/null
+++ b/testing/gettext-tiny/respect-cflags.patch
@@ -0,0 +1,11 @@
+--- gettext-tiny-0.2.0/Makefile.old 2017-08-02 06:14:20.000000000 -0500
++++ gettext-tiny-0.2.0/Makefile 2018-06-16 21:21:57.148735892 -0500
+@@ -32,7 +32,7 @@
+ ALL_M4S=$(sort $(wildcard m4/*.m4))
+ ALL_DATA=$(sort $(wildcard data/*))
+
+-CFLAGS=-O0 -fPIC
++CFLAGS ?= -O0 -fPIC
+
+ AR ?= $(CROSS_COMPILE)ar
+ RANLIB ?= $(CROSS_COMPILE)ranlib