Print this page
9083 replace regex implementation with tre

@@ -338,10 +338,11 @@
 # objects under $(LIBCDIR)/port which contain transitional large file interfaces
 PORTGEN64=                      \
         _xftw64.o               \
         attropen64.o            \
         ftw64.o                 \
+        glob64.o                \
         mkstemp64.o             \
         nftw64.o                \
         tell64.o                \
         truncate64.o
 

@@ -471,10 +472,11 @@
         getutx.o                \
         getvfsent.o             \
         getwd.o                 \
         getwidth.o              \
         getxby_door.o           \
+        glob.o                  \
         gtxt.o                  \
         hsearch.o               \
         iconv.o                 \
         imaxabs.o               \
         imaxdiv.o               \

@@ -548,13 +550,13 @@
         random.o                \
         rctlops.o               \
         readdir.o               \
         readdir_r.o             \
         reallocarray.o          \
-        recallocarray.o         \
         realpath.o              \
         reboot.o                \
+        recallocarray.o         \
         regexpr.o               \
         remove.o                \
         rewinddir.o             \
         rindex.o                \
         scandir.o               \

@@ -623,10 +625,11 @@
         vlfmt.o                 \
         vpfmt.o                 \
         waitpid.o               \
         walkstack.o             \
         wdata.o                 \
+        wordexp.o               \
         xgetwidth.o             \
         xpg4.o                  \
         xpg6.o
 
 PORTPRINT_W=                    \

@@ -970,22 +973,23 @@
         ustat.o                 \
         utimesys.o              \
         zone.o
 
 PORTREGEX=                      \
-        glob.o                  \
         regcmp.o                \
         regcomp.o               \
         regerror.o              \
         regex.o                 \
         regexec.o               \
-        regfree.o               \
-        wordexp.o
+        tre-ast.o               \
+        tre-compile.o           \
+        tre-match-backtrack.o   \
+        tre-match-parallel.o    \
+        tre-mem.o               \
+        tre-parse.o             \
+        tre-stack.o
 
-PORTREGEX64=                    \
-        glob64.o
-
 MOSTOBJS=                       \
         $(STRETS)               \
         $(CRTOBJS)              \
         $(DYNOBJS)              \
         $(FPOBJS)               \

@@ -1004,11 +1008,10 @@
         $(PORTLOCALE)           \
         $(PORTPRINT)            \
         $(PORTPRINT_C89)        \
         $(PORTPRINT_W)          \
         $(PORTREGEX)            \
-        $(PORTREGEX64)          \
         $(PORTSTDIO)            \
         $(PORTSTDIO64)          \
         $(PORTSTDIO_C89)        \
         $(PORTSTDIO_W)          \
         $(PORTSYS)              \

@@ -1239,13 +1242,10 @@
         CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
 
 $(PORTGEN64:%=pics/%) := \
         CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
 
-$(PORTREGEX64:%=pics/%) := \
-        CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-
 $(PORTSTDIO64:%=pics/%) := \
         CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
 
 $(PORTSYS64:%=pics/%) := \
         CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64