[75328] trunk/dports/net/rrdtool
and.damore at macports.org
and.damore at macports.org
Fri Jan 21 13:46:12 PST 2011
Revision: 75328
http://trac.macports.org/changeset/75328
Author: and.damore at macports.org
Date: 2011-01-21 13:46:12 -0800 (Fri, 21 Jan 2011)
Log Message:
-----------
rrdtool: fixed lua binding build when an older rrdtool port built against libpng12 is active
Modified Paths:
--------------
trunk/dports/net/rrdtool/Portfile
Added Paths:
-----------
trunk/dports/net/rrdtool/files/
trunk/dports/net/rrdtool/files/patch-bindings_lua_Makefile_in.diff
Modified: trunk/dports/net/rrdtool/Portfile
===================================================================
--- trunk/dports/net/rrdtool/Portfile 2011-01-21 20:42:16 UTC (rev 75327)
+++ trunk/dports/net/rrdtool/Portfile 2011-01-21 21:46:12 UTC (rev 75328)
@@ -27,6 +27,8 @@
port:libxml2 \
port:intltool
+patchfiles patch-bindings_lua_Makefile_in.diff
+
configure.args --enable-perl-site-install \
--with-perl-options="INSTALLDIRS=vendor" \
--with-tcllib=${prefix}/lib \
Added: trunk/dports/net/rrdtool/files/patch-bindings_lua_Makefile_in.diff
===================================================================
--- trunk/dports/net/rrdtool/files/patch-bindings_lua_Makefile_in.diff (rev 0)
+++ trunk/dports/net/rrdtool/files/patch-bindings_lua_Makefile_in.diff 2011-01-21 21:46:12 UTC (rev 75328)
@@ -0,0 +1,11 @@
+--- bindings/lua/Makefile.in.orig 2011-01-21 22:34:18.000000000 +0100
++++ bindings/lua/Makefile.in 2011-01-21 22:36:49.000000000 +0100
+@@ -330,7 +330,7 @@
+ @LUA_NEED_OUR_COMPAT51_TRUE at compatdir = $(LUA_INSTALL_LMOD)
+ @LUA_NEED_OUR_COMPAT51_TRUE at compat_DATA = compat-5.1r5/compat-5.1.lua
+ rrd_la_LIBADD = -lrrd -lm
+-rrd_la_LDFLAGS = -module -version-info $(LIB_VERSION_INFO) $(LUA_LFLAGS) -L$(top_builddir)/src/.libs
++rrd_la_LDFLAGS = -module -version-info $(LIB_VERSION_INFO) -L$(top_builddir)/src/.libs $(LUA_LFLAGS)
+ rrd_la_CFLAGS = -I$(top_srcdir)/src -I$(top_srcdir) $(LUA_CFLAGS) $(LUA_DEFINES) -DLIB_VERSION=\"$(LIB_VERSION)\"
+ all: all-am
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110121/d4936cdf/attachment.html>
More information about the macports-changes
mailing list