mirror of
				https://github.com/openresty/openresty.git
				synced 2024-10-13 00:29:41 +00:00 
			
		
		
		
	now we apply the makefile install fix patch for Solaris.
This commit is contained in:
		
							
								
								
									
										23
									
								
								patches/lua-5.1.4-makefile_install_fix.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								patches/lua-5.1.4-makefile_install_fix.patch
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,23 @@ | ||||
| --- lua-5.1.4/Makefile	2008-08-12 08:40:48.000000000 +0800 | ||||
| +++ lua-5.1.4-patched/Makefile	2011-03-09 20:56:47.603422483 +0800 | ||||
| @@ -22,14 +22,14 @@ | ||||
|   | ||||
|  # How to install. If your install program does not support "-p", then you | ||||
|  # may have to run ranlib on the installed liblua.a (do "make ranlib"). | ||||
| -INSTALL= install -p | ||||
| -INSTALL_EXEC= $(INSTALL) -m 0755 | ||||
| -INSTALL_DATA= $(INSTALL) -m 0644 | ||||
| +#INSTALL= install -p | ||||
| +#INSTALL_EXEC= $(INSTALL) -m 0755 | ||||
| +#INSTALL_DATA= $(INSTALL) -m 0644 | ||||
|  # | ||||
|  # If you don't have install you can use cp instead. | ||||
| -# INSTALL= cp -p | ||||
| -# INSTALL_EXEC= $(INSTALL) | ||||
| -# INSTALL_DATA= $(INSTALL) | ||||
| +INSTALL= cp -p | ||||
| +INSTALL_EXEC= $(INSTALL) | ||||
| +INSTALL_DATA= $(INSTALL) | ||||
|   | ||||
|  # Utilities. | ||||
|  MKDIR= mkdir -p | ||||
							
								
								
									
										1
									
								
								util/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								util/configure
									
									
									
									
										vendored
									
									
								
							| @ -378,6 +378,7 @@ sub build_resty_opts { | ||||
|         env LUA_INC => "$lua_root$lua_prefix/include"; | ||||
|  | ||||
|         push @make_cmds, "cd build/$lua_src && \$(MAKE) $platform"; | ||||
|  | ||||
|         push @make_install_cmds, "cd build/$lua_src && " | ||||
|             . "\$(MAKE) install INSTALL_TOP=\$(DESTDIR)$lua_prefix"; | ||||
|  | ||||
|  | ||||
| @ -161,6 +161,12 @@ cd ../.. || exit 1 | ||||
|  | ||||
| rm "patch-lua-$ver-2" || exit 1 | ||||
|  | ||||
| cp $root/patches/lua-$ver-makefile_install_fix.patch lua-makefile-fix.patch || exit 1 | ||||
|  | ||||
| patch -p0 < lua-makefile-fix.patch || exit 1 | ||||
|  | ||||
| rm lua-makefile-fix.patch | ||||
|  | ||||
| ################################# | ||||
|  | ||||
| ver=2.0.0-beta6 | ||||
|  | ||||
		Reference in New Issue
	
	Block a user