aboutsummaryrefslogtreecommitdiffstats
path: root/community/gettext-tiny/respect-cflags.patch
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.eu>2020-04-24 14:08:40 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-05-19 14:26:15 +0200
commit7b929f138f7d715edf616fe3d2a9dad7dd3185da (patch)
treed8b06cbb2db012364365e7eece00c1e1c8b66f8a /community/gettext-tiny/respect-cflags.patch
parent8290dfb93f19ee7b84c7385f670e4dab9ceba0a7 (diff)
downloadaports-7b929f138f7d715edf616fe3d2a9dad7dd3185da.tar.gz
aports-7b929f138f7d715edf616fe3d2a9dad7dd3185da.tar.bz2
aports-7b929f138f7d715edf616fe3d2a9dad7dd3185da.tar.xz
community/gettext-tiny: move from testing
Diffstat (limited to 'community/gettext-tiny/respect-cflags.patch')
-rw-r--r--community/gettext-tiny/respect-cflags.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/gettext-tiny/respect-cflags.patch b/community/gettext-tiny/respect-cflags.patch
new file mode 100644
index 0000000000..dd1cf3fe2c
--- /dev/null
+++ b/community/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