head	1.2;
access;
symbols;
locks; strict;
comment	@# @;


1.2
date	2008.08.10.19.29.43;	author alepulver;	state dead;
branches;
next	1.1;

1.1
date	2008.07.04.00.55.59;	author araujo;	state Exp;
branches;
next	;


desc
@@


1.2
log
@- Merge patch-Makefile into patch-src-Makefile (both actually patch same file).
- Patch lang/lua to behave as expected by the framework.
- Add missing library dependency (only run before) when using lua 5.1.
- Add notes in bsd.lua.mk for updating lang/lua* ports describing how they are
  integrated into the ports tree.

PR:		ports/126207
Submitted by:	Daniel Roethlisberger <daniel@@roe.ch>
@
text
@--- src/Makefile.orig	2008-05-29 19:24:46.000000000 +0900
+++ src/Makefile	2008-05-29 19:27:30.000000000 +0900
@@@@ -31,12 +31,13 @@@@
 
 LUA_T=	lua
 LUA_O=	lua.o
+LUA_SO=	liblua.so
 
 LUAC_T=	luac
 LUAC_O=	luac.o print.o
 
 ALL_O= $(CORE_O) $(LIB_O) $(LUA_O) $(LUAC_O)
-ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T)
+ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T) $(LUA_SO)
 ALL_A= $(LUA_A)
 
 default: $(PLAT)
@@@@ -47,6 +48,9 @@@@
 
 a:	$(ALL_A)
 
+$(LUA_SO):	$(CORE_O) $(LIB_O)
+	$(CC) -o $@@ $(MYLDFLAGS) -shared $?
+
 $(LUA_A): $(CORE_O) $(LIB_O)
 	$(AR) $@@ $?
 	$(RANLIB) $@@
@


1.1
log
@- liblua.so is required in building mod_security, wireshark and possibly others with lua support, now create a shared lib is needed.
- Bump PORTREVISION.

PR:		ports/124297
Submitted by:	Tomoyuki Sakurai <cherry@@trombik.org>
Approved by:	maintainer timeout ( > 2 weeks)
@
text
@@

