aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/lua-sysctl/files/patch-Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/lua-sysctl/files/patch-Makefile b/devel/lua-sysctl/files/patch-Makefile
new file mode 100644
index 000000000000..afbe00b365b5
--- /dev/null
+++ b/devel/lua-sysctl/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig 2013-01-25 08:34:02.000000000 -0200
++++ Makefile 2013-01-25 08:34:23.000000000 -0200
+@@ -2,7 +2,7 @@
+ SODIR = sysctl
+ SOLIB = ${SODIR}/core.so
+
+-LDFLAGS += -shared -soname ${SONAME}
++LDFLAGS += -shared -Wl,-soname,${SONAME}
+ CFLAGS += -Wall -Wextra -fPIC `pkg-config --cflags lua-5.1`
+
+ all: ${SOLIB}