openbsd-ports/lang/lua/patches/patch-Makefile
espie 4c64f036a5 obvious dependency fix.
also regen patches.
2007-10-29 20:30:32 +00:00

30 lines
1.0 KiB
Plaintext

$OpenBSD: patch-Makefile,v 1.5 2007/10/29 20:30:32 espie Exp $
--- Makefile.orig Sun Mar 25 16:44:39 2007
+++ Makefile Mon Oct 29 21:26:20 2007
@@ -5,14 +5,14 @@
# == CHANGE THE SETTINGS BELOW TO SUIT YOUR ENVIRONMENT =======================
# Your platform. See PLATS for possible values.
-PLAT= none
+PLAT= bsd
# Where to install. The installation starts in the src directory, so take care
# if INSTALL_TOP is not an absolute path. (Man pages are installed from the
# doc directory.) You may want to make these paths consistent with LUA_ROOT,
# LUA_LDIR, and LUA_CDIR in luaconf.h (and also with etc/lua.pc).
#
-INSTALL_TOP= /usr/local
+INSTALL_TOP= $(PREFIX)
INSTALL_BIN= $(INSTALL_TOP)/bin
INSTALL_INC= $(INSTALL_TOP)/include
INSTALL_LIB= $(INSTALL_TOP)/lib
@@ -43,7 +43,7 @@ PLATS= aix ansi bsd freebsd generic linux macosx mingw
# What to install.
TO_BIN= lua luac
TO_INC= lua.h luaconf.h lualib.h lauxlib.h ../etc/lua.hpp
-TO_LIB= liblua.a
+TO_LIB= liblua.a liblua.so.5.1
TO_MAN= lua.1 luac.1
# Lua version and release.