PORTNAME= regutil
PORTVERSION= 1.26
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= lang
MASTER_SITES= http://home.interlog.com/~ptjm/ \
http://www.ancientgeek.org.uk/distfiles/
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_LDCONFIG= yes
LLD_UNSAFE= yes # lld lacks built-in search paths
MAKEFILE= Makefile.bsd
MAKE_ARGS+= PLIBS="${LDFLAGS:M-L*} -lncurses"
CFLAGS+= -D_WANT_SEMUN
--- Makefile.bsd.orig 2019-04-07 21:58:45 UTC
+++ Makefile.bsd
@@ -23,7 +23,7 @@ POPT=-O2 -fomit-frame-pointer
PCDEFS=-D_SEMUN_DEFINED -DUSE_STATFS -DINCL_MOUNT -DHAS_F_MNTFROMNAME -DMMAP\
-DUSE_TERMCAP_DB -DHAS_GETBOOTFILE -DHAS_WCHAR
PCFLAGS=-fpic -pipe
-PLDFLAGS=-Bdynamic -Bshareable
+PLDFLAGS=-Bdynamic -Bshareable -L/usr/lib
PLIBS=-ltermcap
include Makefile.inc
--- regstem.c.orig 2004-06-15 19:15:06 UTC
+++ regstem.c
@@ -53,7 +53,7 @@ static int rxstrcasecmp(const PRXSTRING
@@ -53,7 +53,7 @@ static int rxstrcasecmp(const PRXSTRING l, const PRXST
{
register int len = min(l->strlength, r->strlength),
d = l->strlength - r->strlength,
--- regutil.c.orig 2004-01-16 14:57:12 UTC
+++ regutil.c
@@ -52,7 +52,7 @@ static void gettimeofday(struct timeval
@@ -52,7 +52,7 @@ static void gettimeofday(struct timeval * tv, struct t
struct {
char * name;
--- rxsupport.c.orig 2003-09-10 21:09:44 UTC
+++ rxsupport.c
@@ -612,7 +612,7 @@ int cha_adddummy(chararray *ca, const ch
@@ -612,7 +612,7 @@ int cha_adddummy(chararray *ca, const char * str, int
}
ca->array[ca->count].strlength = len;