diff options
author | garga <garga@FreeBSD.org> | 2013-01-25 18:36:02 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2013-01-25 18:36:02 +0800 |
commit | f82feea9ae1e4bbba24083fee45acb3227ca140d (patch) | |
tree | 37b71ab3cc2b6bba459ef394d7c534b949d3f0da /devel | |
parent | a996270fbf993795539cd1865ecfef05944ae3f0 (diff) | |
download | freebsd-ports-gnome-f82feea9ae1e4bbba24083fee45acb3227ca140d.tar.gz freebsd-ports-gnome-f82feea9ae1e4bbba24083fee45acb3227ca140d.tar.zst freebsd-ports-gnome-f82feea9ae1e4bbba24083fee45acb3227ca140d.zip |
Fix build with clang
Submitted by: Matt Burke <mattblists@icritical.com>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/lua-sysctl/files/patch-Makefile | 11 |
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} |