freebsd-ports/databases/msql/files/patch-as
Andrey A. Chernov 6ffeb34bef Reorganize .o installed
Build shared modules properly
Use separate dir for socket/pid
2001-01-28 08:10:47 +00:00

26 lines
1012 B
Plaintext

--- src/lite/Makefile.tmpl.orig Thu Aug 19 07:33:12 1999
+++ src/lite/Makefile.tmpl Sun Jan 28 10:44:59 2001
@@ -13,8 +13,9 @@
!object mod_lite.o mod_lite.c
!object modules.o modules.c
+!slibrary_unix 0 mod_lite.so mod_lite.c
-!program lite mod_lite.o,../lang-common/mod_std.o,../lang-common/mod_msql.o,lite.o,lite_lex.o,modules.o,../msql/libmsql.a,../regexp/libregexp.a,../lang-common/liblite.a
+!program lite mod_lite.o,../lang-common/mod_std.o,../lang-common/mod_msql.o,lite.o,lite_lex.o,modules.o -L../msql,-lmsql,-L../lang-common,-llite,-lcompat
#
# Debugging compilations
@@ -32,8 +33,9 @@
!install lite $(INST_DIR)/bin/lite 0755
-!install lite_lex.o $(INST_DIR)/lib/lite_lex.o 0755
-!install mod_lite.o $(INST_DIR)/lib/mod_lite.o 0755
+!install lite_lex.o $(INST_DIR)/lib/msql/lite_lex.o 0755
+!install mod_lite.o $(INST_DIR)/lib/msql/mod_lite.o 0755
+!install mod_lite.so $(INST_DIR)/libexec/msql/mod_lite.so 0755
mod_lite.o: ../lang-common/lite.h
mod_lite.o: ../common/portability.h