> Date: Fri, 22 May 2015 10:20:38 +0200 > From: Antoine Jacoutot <ajacou...@bsdfrog.org> > > > > > Seems luarexlib needs the same kind of love. > > > > > > Yeah. I sent out a diff for that a week ago or so, but nobody > > > bothered to ok it. > > > > Ah sorry I missed it. I'll look at it. > > Hmm, I just grep'd for 'luarexlib' in my ports@ archive and could not find > anything. > Where did you send it?
ports@ I believe. But it is easier to just send it again ;). Index: Makefile =================================================================== RCS file: /cvs/ports/devel/luarexlib/Makefile,v retrieving revision 1.16 diff -u -p -r1.16 Makefile --- Makefile 11 Mar 2013 10:50:11 -0000 1.16 +++ Makefile 22 May 2015 09:13:34 -0000 @@ -4,7 +4,7 @@ SHARED_ONLY= Yes COMMENT= lua binding of posix and pcre regex libraries DISTNAME= lrexlib-2.4.0 PKGNAME= luarexlib-2.4.0 -REVISION= 4 +REVISION= 5 CATEGORIES= devel MASTER_SITES= http://luaforge.net/frs/download.php/3599/ Index: patches/patch-src_common_mak =================================================================== RCS file: /cvs/ports/devel/luarexlib/patches/patch-src_common_mak,v retrieving revision 1.1 diff -u -p -r1.1 patch-src_common_mak --- patches/patch-src_common_mak 9 Sep 2009 18:02:01 -0000 1.1 +++ patches/patch-src_common_mak 22 May 2015 09:13:34 -0000 @@ -1,6 +1,6 @@ $OpenBSD: patch-src_common_mak,v 1.1 2009/09/09 18:02:01 jolan Exp $ --- src/common.mak.orig Sat Jun 14 20:11:08 2008 -+++ src/common.mak Wed Sep 9 12:13:00 2009 ++++ src/common.mak Fri May 22 11:13:12 2015 @@ -3,11 +3,11 @@ V = 2.4 @@ -9,8 +9,9 @@ $OpenBSD: patch-src_common_mak,v 1.1 200 +CFLAGS+= $(MYCFLAGS) $(DEFS) $(INC) TRG_AR = lib$(TRG).a TRG_SO = $(TRG).so - LD = ld +-LD = ld -LDFLAGS= -shared ++LD = cc +LDFLAGS= -fPIC -shared all: $(TRG_AR) $(TRG_SO)