$OpenBSD: patch-Makefile,v 1.7 2008/11/07 12:23:12 jsg Exp $ --- Makefile.orig Thu Nov 6 21:44:23 2008 +++ Makefile Thu Nov 6 21:46:04 2008 @@ -5,11 +5,11 @@ # == 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 and doc directories, # so take care if INSTALL_TOP is not an absolute path. -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.${LIBlua_VERSION} TO_MAN= lua.1 luac.1 # Lua version and release.