summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJoel Taylor <me@joelt.io>2015-05-18 13:11:52 -0700
committerJoel Taylor <me@joelt.io>2015-05-18 13:12:45 -0700
commitd60058af4b5a88ed41ad428645583b720b72ab19 (patch)
tree8f6c65f23c03ee7f7cdf5554cdb437237ac1481d /pkgs
parentfd588f939cf456f3932619b4a8587731669cc0a7 (diff)
downloadnixlib-d60058af4b5a88ed41ad428645583b720b72ab19.tar
nixlib-d60058af4b5a88ed41ad428645583b720b72ab19.tar.gz
nixlib-d60058af4b5a88ed41ad428645583b720b72ab19.tar.bz2
nixlib-d60058af4b5a88ed41ad428645583b720b72ab19.tar.lz
nixlib-d60058af4b5a88ed41ad428645583b720b72ab19.tar.xz
nixlib-d60058af4b5a88ed41ad428645583b720b72ab19.tar.zst
nixlib-d60058af4b5a88ed41ad428645583b720b72ab19.zip
lua: update patch for 5.2 on darwin
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/interpreters/lua-5/5.2.darwin.patch16
1 files changed, 8 insertions, 8 deletions
diff --git a/pkgs/development/interpreters/lua-5/5.2.darwin.patch b/pkgs/development/interpreters/lua-5/5.2.darwin.patch
index ffc3ff34be70..b314bd2abac3 100644
--- a/pkgs/development/interpreters/lua-5/5.2.darwin.patch
+++ b/pkgs/development/interpreters/lua-5/5.2.darwin.patch
@@ -1,27 +1,27 @@
 diff --git a/Makefile b/Makefile
-index 209a132..9387b09 100644
+index d2c7db4..dc107b3 100644
 --- a/Makefile
 +++ b/Makefile
-@@ -43,5 +43,5 @@ PLATS= aix ansi bsd freebsd generic linux macosx mingw posix solaris
+@@ -41,7 +41,7 @@ PLATS= aix ansi bsd freebsd generic linux macosx mingw posix solaris
  # What to install.
  TO_BIN= lua luac
  TO_INC= lua.h luaconf.h lualib.h lauxlib.h lua.hpp
 -TO_LIB= liblua.a
 +TO_LIB= liblua.${version}.dylib
  TO_MAN= lua.1 luac.1
-
+ 
  # Lua version and release.
-@@ -64,3 +64,5 @@ install: dummy
+@@ -63,6 +63,8 @@ install: dummy
  	cd src && $(INSTALL_DATA) $(TO_INC) $(INSTALL_INC)
  	cd src && $(INSTALL_DATA) $(TO_LIB) $(INSTALL_LIB)
  	cd doc && $(INSTALL_DATA) $(TO_MAN) $(INSTALL_MAN)
 +	ln -s -f liblua.${version}.dylib $(INSTALL_LIB)/liblua.${majorVersion}.dylib
 +	ln -s -f liblua.${majorVersion}.dylib $(INSTALL_LIB)/liblua.dylib
-
- ranlib:
- 	cd src && cd $(INSTALL_LIB) && $(RANLIB) $(TO_LIB)
+ 
+ uninstall:
+ 	cd src && cd $(INSTALL_BIN) && $(RM) $(TO_BIN)
 diff --git a/src/Makefile b/src/Makefile
-index fea895b..d9146d0 100644
+index 7b4b2b7..25001e5 100644
 --- a/src/Makefile
 +++ b/src/Makefile
 @@ -28,7 +28,7 @@ MYOBJS=