svn commit: r310974 - head/devel/lua-sysctl/files
Renato Botelho
garga at FreeBSD.org
Fri Jan 25 10:36:03 UTC 2013
Author: garga
Date: Fri Jan 25 10:36:02 2013
New Revision: 310974
URL: http://svnweb.freebsd.org/changeset/ports/310974
Log:
Fix build with clang
Submitted by: Matt Burke <mattblists at icritical.com>
Added:
head/devel/lua-sysctl/files/patch-Makefile (contents, props changed)
Added: head/devel/lua-sysctl/files/patch-Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/lua-sysctl/files/patch-Makefile Fri Jan 25 10:36:02 2013 (r310974)
@@ -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}
More information about the svn-ports-all
mailing list