Module Name: src
Committed By: mbalmer
Date: Sat Oct 8 08:35:56 UTC 2011
Modified Files:
src/share/mk: bsd.lua.mk
Log Message:
Comment out the '##### Libraries that modules may depend upon.' for now,
so that modules written in C can be built.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/share/mk/bsd.lua.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/mk/bsd.lua.mk
diff -u src/share/mk/bsd.lua.mk:1.2 src/share/mk/bsd.lua.mk:1.3
--- src/share/mk/bsd.lua.mk:1.2 Fri Oct 7 17:53:03 2011
+++ src/share/mk/bsd.lua.mk Sat Oct 8 08:35:56 2011
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.lua.mk,v 1.2 2011/10/07 17:53:03 apb Exp $
+# $NetBSD: bsd.lua.mk,v 1.3 2011/10/08 08:35:56 mbalmer Exp $
#
# Build rules and definitions for Lua modules
@@ -8,7 +8,7 @@
# LUA_VERSION currently installed version of Lua
# LUA_LIBDIR ${LIBDIR}/lua/${LUA_VERSION}
#
-# LUA_MODULES list of Lua modules to build/install
+# LUA_MODULES list of Lua modules to build/installi
# LUA_DPLIBS shared library dependencies as per LIBDPLIBS
# (liblua is automatically included)
#
@@ -82,14 +82,14 @@ CFLAGS+= -fPIC -DPIC
##
##### Libraries that modules may depend upon.
-.for _lib _dir in lua ${NETBSDSRCDIR}/external/mit/lua/lib/liblua ${LUA_DPLIBS}
-.if !defined(LIBDO.${_lib})
-LIBDO.${_lib}!= cd "${_dir}" && ${PRINTOBJDIR}
-.MAKEOVERRIDES+=LIBDO.${_lib}
-.endif
-LDADD+=-L${LIBDO.${_lib}} -l${_lib}
-DPADD+=${LIBDO.${_lib}}/lib${_lib}.so
-.endfor
+#.for _lib _dir in lua ${NETBSDSRCDIR}/external/mit/lua/lib/liblua ${LUA_DPLIBS}
+#.if !defined(LIBDO.${_lib})
+#LIBDO.${_lib}!= cd "${_dir}" && ${PRINTOBJDIR}
+#.MAKEOVERRIDES+=LIBDO.${_lib}
+#.endif
+#LDADD+=-L${LIBDO.${_lib}} -l${_lib}
+#DPADD+=${LIBDO.${_lib}}/lib${_lib}.so
+#.endfor
##
##### Lua Modules