openbsd-ports/databases/luasqlite3/patches/patch-Makefile
jolan 83e1cb03a8 luasqlite3-0.2, binding of sqlite3 for lua
joint effort by pedro@ and myself
2005-04-27 04:33:53 +00:00

22 lines
835 B
Plaintext

$OpenBSD: patch-Makefile,v 1.1.1.1 2005/04/27 04:33:53 jolan Exp $
--- Makefile.orig Tue Apr 26 10:09:24 2005
+++ Makefile Tue Apr 26 10:10:51 2005
@@ -29,7 +29,7 @@ DEPS := Makefile Makefile.cfg
DESTDIR :=
-all: libluasqlite3.so libluasqlite3-loader.lua libluasqlite3-loader.lua.install
+all: luasqlite3.so # libluasqlite3-loader.lua libluasqlite3-loader.lua.install
install: all
$(install-dirs) $(DESTDIR)$(luadir)
@@ -96,7 +96,7 @@ documentation.html: docs/doc.mrd
libluasqlite3.o: libluasqlite3.c $(DEPS)
$(COMPILE) $(LUA_CFLAGS) $(SQLITE3_CFLAGS) -o $@ $<
-libluasqlite3.so: libluasqlite3.o $(DEPS)
+luasqlite3.so: libluasqlite3.o $(DEPS)
$(LINKSHARED) $(LUA_LDFLAGS) $(SQLITE3_LDFLAGS) -o $@ $< $(LUA_LIBS) $(SQLITE3_LIBS)
libluasqlite3-loader.lua.install: libluasqlite3-loader.lua.in $(DEPS)