summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-07-08 15:11:29 +0000
committernia <nia@pkgsrc.org>2020-07-08 15:11:29 +0000
commit32d96958b7c9afbcce5fa3a1d972344793a076fd (patch)
treeab93aaedf1bb79ad83916bef4600210c2b9c7ae6 /converters
parentc8f9d07d7b9a0e6f69d308641e66a885ca2cd0b6 (diff)
downloadpkgsrc-32d96958b7c9afbcce5fa3a1d972344793a076fd.tar.gz
lua-iconv: missing patch
Diffstat (limited to 'converters')
-rw-r--r--converters/lua-iconv/patches/patch-Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/converters/lua-iconv/patches/patch-Makefile b/converters/lua-iconv/patches/patch-Makefile
new file mode 100644
index 00000000000..6fba7915518
--- /dev/null
+++ b/converters/lua-iconv/patches/patch-Makefile
@@ -0,0 +1,17 @@
+$NetBSD: patch-Makefile,v 1.1 2020/07/08 15:11:29 nia Exp $
+
+Honour environment.
+
+--- Makefile.orig 2012-05-07 02:27:38.000000000 +0000
++++ Makefile
+@@ -32,8 +32,8 @@ OMIT_FRAME_PTR = -fomit-frame-pointer
+
+ LUABIN = lua
+ LUAPKG = lua5.2
+-CFLAGS = `pkg-config $(LUAPKG) --cflags` -fPIC -O3 -Wall $(OMIT_FRAME_PTR)
+-LFLAGS = -shared
++CFLAGS+= -Wall -fPIC
++LFLAGS = $(LDFLAGS) -shared
+
+ INSTALL_PATH = `$(LUABIN) -e' \
+ for dir in package.cpath:gmatch("(/[^?;]+)?") do \