svn commit: r221968 - in user/gabor/tre-integration: contrib/tre contrib/tre/src lib/libc/regex usr.bin usr.bin/agrep

Gabor Kovesdan gabor at FreeBSD.org
Sun May 15 16:33:14 UTC 2011


Author: gabor
Date: Sun May 15 16:33:13 2011
New Revision: 221968
URL: http://svn.freebsd.org/changeset/base/221968

Log:
  - Add agrep to the build

Added:
  user/gabor/tre-integration/usr.bin/agrep/
  user/gabor/tre-integration/usr.bin/agrep/Makefile   (contents, props changed)
Modified:
  user/gabor/tre-integration/contrib/tre/config.h
  user/gabor/tre-integration/contrib/tre/src/agrep.c
  user/gabor/tre-integration/lib/libc/regex/Symbol.map
  user/gabor/tre-integration/usr.bin/Makefile

Modified: user/gabor/tre-integration/contrib/tre/config.h
==============================================================================
--- user/gabor/tre-integration/contrib/tre/config.h	Sun May 15 16:16:48 2011	(r221967)
+++ user/gabor/tre-integration/contrib/tre/config.h	Sun May 15 16:33:13 2011	(r221968)
@@ -154,3 +154,5 @@
 
 /* Version number of package */
 #define VERSION "0.8.0"
+
+#define PACKAGE_BUGREPORT "tre-general at lists.laurikari.net"

Modified: user/gabor/tre-integration/contrib/tre/src/agrep.c
==============================================================================
--- user/gabor/tre-integration/contrib/tre/src/agrep.c	Sun May 15 16:16:48 2011	(r221967)
+++ user/gabor/tre-integration/contrib/tre/src/agrep.c	Sun May 15 16:33:13 2011	(r221968)
@@ -23,7 +23,7 @@
 #ifdef HAVE_GETOPT_H
 #include <getopt.h>
 #endif /* HAVE_GETOPT_H */
-#include "regex.h"
+#include <regex.h>
 
 #ifdef HAVE_GETTEXT
 #include <libintl.h>

Modified: user/gabor/tre-integration/lib/libc/regex/Symbol.map
==============================================================================
--- user/gabor/tre-integration/lib/libc/regex/Symbol.map	Sun May 15 16:16:48 2011	(r221967)
+++ user/gabor/tre-integration/lib/libc/regex/Symbol.map	Sun May 15 16:33:13 2011	(r221968)
@@ -3,10 +3,12 @@
  */
 
 FBSD_1.2 {
+	tre_config;
 	tre_regacomp;
 	tre_regaexec;
 	tre_regancomp;
 	tre_reganexec;
+	tre_regaparams_default;
 	tre_regawncomp;
 	tre_regawnexec;
 	tre_regcomp;

Modified: user/gabor/tre-integration/usr.bin/Makefile
==============================================================================
--- user/gabor/tre-integration/usr.bin/Makefile	Sun May 15 16:16:48 2011	(r221967)
+++ user/gabor/tre-integration/usr.bin/Makefile	Sun May 15 16:33:13 2011	(r221968)
@@ -9,7 +9,8 @@
 # Moved to secure: bdes
 #
 
-SUBDIR=	alias \
+SUBDIR=	agrep \
+	alias \
 	apply \
 	asa \
 	awk \

Added: user/gabor/tre-integration/usr.bin/agrep/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ user/gabor/tre-integration/usr.bin/agrep/Makefile	Sun May 15 16:33:13 2011	(r221968)
@@ -0,0 +1,10 @@
+#	$FreeBSD$
+
+.PATH: ${.CURDIR}/../../contrib/tre/src ${.CURDIR}/../../contrib/tre/doc
+PROG=	agrep
+
+CFLAGS+=-DHAVE_CONFIG_H -I${.CURDIR}/../../contrib/tre \
+	-I${.CURDIR}/../../include
+WARNS?=	6
+
+.include <bsd.prog.mk>


More information about the svn-src-user mailing list