head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.2 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.1.1.1.0.12 pkgsrc-2012Q4-base:1.1.1.1 pkgsrc-2012Q3:1.1.1.1.0.10 pkgsrc-2012Q3-base:1.1.1.1 pkgsrc-2012Q2:1.1.1.1.0.8 pkgsrc-2012Q2-base:1.1.1.1 pkgsrc-2012Q1:1.1.1.1.0.6 pkgsrc-2012Q1-base:1.1.1.1 pkgsrc-2011Q4:1.1.1.1.0.4 pkgsrc-2011Q4-base:1.1.1.1 pkgsrc-2011Q3:1.1.1.1.0.2 pkgsrc-2011Q3-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.2 date 2013.01.25.22.02.18; author ryoon; state dead; branches; next 1.1; 1.1 date 2011.07.24.08.51.26; author cheusov; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2011.07.24.08.51.26; author cheusov; state Exp; branches; next ; desc @@ 1.2 log @Update to 2.7.2 from 2.4.0 * Use custom BSDmakefile instead of luarocks. It seems that luarocks lacks destdir support. Changelog: 2013-01-08 Release 2.7.2 * Fixed the use of alternative allocators, and a memory leak. * Simplify the build system further. * Change rockspec to build from git now that github no longer supports downloads. 2012-10-18 Release 2.7.1 * Fixed Lua 5.1 compatibility, broken in 2.7.0. * Added ability to specify no replacement to gsub with a nil or false replacement argument. 2012-10-04 Release 2.7.0 * Added support for searching raw memory buffers (e.g. made with alien). * Fixed possible invalid code generation in C (thanks, Michael Tautschnig). * Generate LuaRock rockspecs for all modules. * Greatly simplify UNIX build system, relying on LuaRocks. * Allow POSIX REG_STARTEND to be used on any system supporting it. * Add a test set for POSIX regex engine (thanks, Enrico Tassi). * Simplify some code. * Always use Lua state memory allocator. 2012-04-13 Release 2.6.0 * Added support for Lua 5.2. 2010-12-15 Release 2.5.3 * Bug fix to rex.split. * Support for new flags in PCRE 8.11. 2010-11-10 Release 2.5.2 * Important bug fix (thanks to Enrico Tassi for the report) affecting platforms with certain alignment requirements. * Improved build system for Windows. * Minor improvements to the manual. 2010-10-04 Release 2.5.1 * Minor improvements and fixes, no changes to library code. 2010-10-03 Release 2.5.0 * Added bindings of the TRE and GNU regex APIs. * Improved and simplified the build system. @ text @$NetBSD: patch-aa,v 1.1 2011/07/24 08:51:26 cheusov Exp $ # libtool-ization --- src/common.mak.orig 2008-06-14 20:11:08.000000000 +0300 +++ src/common.mak @@@@ -3,11 +3,11 @@@@ V = 2.4 DEFS = -DREX_OPENLIB=luaopen_$(TRG) -DREX_LIBNAME=\"$(TRG)\" -CFLAGS = $(MYCFLAGS) $(DEFS) $(INC) +CFLAGS+= $(DEFS) TRG_AR = lib$(TRG).a -TRG_SO = $(TRG).so +TRG_SO = $(TRG).la LD = ld -LDFLAGS= -shared +#LDFLAGS= -shared all: $(TRG_AR) $(TRG_SO) @@@@ -15,8 +15,11 @@@@ $(TRG_AR): $(OBJ) $(AR) $@@ $^ $(TRG_SO): $(OBJ) - $(LD) -o $@@.$V $(LDFLAGS) $^ $(LIB) $(LIB_LUA) - ln -fs $@@.$V $@@ + $(LIBTOOL) --tag=CC --mode=link $(CC) -o $@@ -module \ + -rpath ${MODULES_DIR} $(OBJ:.o=.lo) $(LDFLAGS) $(LIBS) clean: rm -f $(OBJ) $(TRG_AR) $(TRG_SO)* + +.c.o: + $(LIBTOOL) --tag=CC --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $< -o $@@ @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @ Lrexlib is a binding of three regular expression library APIs (POSIX, PCRE and Oniguruma) to Lua 5.1. This package provides a meta package @ text @@