Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
6103c6eaee | ||
|
650abf758e | ||
|
348fec7569 | ||
|
e210742581 |
0
.cvsignore → .gitignore
vendored
0
.cvsignore → .gitignore
vendored
2
Makefile
2
Makefile
@ -4,7 +4,7 @@ NAME := lua
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
7
lua.spec
7
lua.spec
@ -1,6 +1,6 @@
|
||||
Name: lua
|
||||
Version: 5.1.4
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Powerful light-weight programming language
|
||||
Group: Development/Languages
|
||||
License: MIT
|
||||
@ -53,7 +53,7 @@ sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||
# hack so that only /usr/bin/lua gets linked with readline as it is the
|
||||
# only one which needs this and otherwise we get License troubles
|
||||
make %{?_smp_mflags} LIBS="-ldl" luac_LDADD="liblua.la -lm -ldl"
|
||||
make %{?_smp_mflags} LIBS="-lm -ldl" luac_LDADD="liblua.la -lm -ldl"
|
||||
# also remove readline from lua.pc
|
||||
sed -i 's/-lreadline -lncurses //g' etc/lua.pc
|
||||
|
||||
@ -94,6 +94,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_libdir}/*.a
|
||||
|
||||
%changelog
|
||||
* Thu Jun 11 2009 Tim Niemueller <tim@niemueller.de> - 5.1.4-2
|
||||
- Link liblua.so with -lm (math lib), fixes rhbz #499238
|
||||
|
||||
* Wed Sep 03 2008 Tim Niemueller <tim@niemueller.de> - 5.1.4-1
|
||||
- New upstream release 5.1.4
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user