Module Name:    src
Committed By:   plunky
Date:           Wed Jan 19 11:55:50 UTC 2011

Modified Files:
        src/external/mit/lua/usr.bin/lua: Makefile

Log Message:
libterminfo needs to come after libedit for static linking
(while here, coalesce LDADD/DPADD lines)


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/mit/lua/usr.bin/lua/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/lua/usr.bin/lua/Makefile
diff -u src/external/mit/lua/usr.bin/lua/Makefile:1.4 src/external/mit/lua/usr.bin/lua/Makefile:1.5
--- src/external/mit/lua/usr.bin/lua/Makefile:1.4	Wed Jan 19 11:38:15 2011
+++ src/external/mit/lua/usr.bin/lua/Makefile	Wed Jan 19 11:55:50 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2011/01/19 11:38:15 plunky Exp $
+# $NetBSD: Makefile,v 1.5 2011/01/19 11:55:50 plunky Exp $
 
 PROG=		lua
 SRCS=		lua.c
@@ -6,11 +6,8 @@
 
 CPPFLAGS+=	-DLUA_USE_READLINE
 
-LDADD+=		-llua
-DPADD+=		${LIBLUA}
-
-LDADD+=		-lterminfo -lm -ledit
-DPADD+=		${LIBTERMINFO} ${LIBM} ${LIBEDIT}
+LDADD+=		-llua -lm -ledit -lterminfo
+DPADD+=		${LIBLUA} ${LIBM} ${LIBEDIT} ${LIBTERMINFO}
 
 .include <bsd.own.mk>
 

Reply via email to