summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/gettext-tiny/patches/patch-Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/package/gettext-tiny/patches/patch-Makefile b/package/gettext-tiny/patches/patch-Makefile
index c9584ef3c..dcc98f4bb 100644
--- a/package/gettext-tiny/patches/patch-Makefile
+++ b/package/gettext-tiny/patches/patch-Makefile
@@ -1,21 +1,22 @@
---- gettext-tiny-0.0.3.orig/Makefile 2013-06-30 06:48:42.000000000 +0200
-+++ gettext-tiny-0.0.3/Makefile 2013-10-30 22:13:29.000000000 +0100
+--- gettext-tiny-0.0.4.orig/Makefile 2014-03-02 15:55:44.000000000 +0100
++++ gettext-tiny-0.0.4/Makefile 2016-07-17 01:00:02.732966962 +0200
@@ -1,4 +1,4 @@
-prefix=/usr/local
+prefix=/usr
bindir=$(prefix)/bin
includedir=$(prefix)/include
libdir=$(prefix)/lib
-@@ -19,7 +19,7 @@ ALL_INCLUDES = $(HEADERS)
+@@ -19,7 +19,8 @@ ALL_INCLUDES = $(HEADERS)
ALL_LIBS=libintl.a
ALL_TOOLS=msgfmt msgmerge xgettext
-CFLAGS=-O0 -fPIC
-+CFLAGS?=-O0 -fPIC
++CFLAGS?=-O0
++CFLAGS+=-fPIC
AR ?= $(CROSS_COMPILE)ar
RANLIB ?= $(CROSS_COMPILE)ranlib
-@@ -47,22 +47,25 @@ libintl.a: $(LIBOBJS)
+@@ -47,22 +48,25 @@ libintl.a: $(LIBOBJS)
$(RANLIB) $@
msgmerge: $(OBJS)