Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jan 2021 19:21:22 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r560033 - in head/devel/cvs: . files
Message-ID:  <202101031921.103JLM4P062499@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Sun Jan  3 19:21:21 2021
New Revision: 560033
URL: https://svnweb.freebsd.org/changeset/ports/560033

Log:
  devel/cvs: remove libgnuregex dependency.
  
  The only usage of regular expression in cvs was in import.c, and for
  that particular usage, no GNU extension was used; with the removal of
  libgnuregex, we could just drop the dependency and use the base system
  regex(3) instead.
  
  This fixes build on -CURRENT.
  
  PR:		252248
  Approved by:	maintainer
  MFH:		2021Q1

Added:
  head/devel/cvs/files/patch-cvs__lib_Makefile   (contents, props changed)
Modified:
  head/devel/cvs/Makefile   (contents, props changed)
  head/devel/cvs/files/patch-cvs__Makefile   (contents, props changed)

Modified: head/devel/cvs/Makefile
==============================================================================
--- head/devel/cvs/Makefile	Sun Jan  3 19:11:33 2021	(r560032)
+++ head/devel/cvs/Makefile	Sun Jan  3 19:21:21 2021	(r560033)
@@ -2,7 +2,7 @@
 
 PORTNAME=	cvs
 PORTVERSION=	1.20120905
-PORTREVISION?=	6
+PORTREVISION?=	7
 CATEGORIES=	devel
 MASTER_SITES=	LOCAL/eadler
 

Modified: head/devel/cvs/files/patch-cvs__Makefile
==============================================================================
--- head/devel/cvs/files/patch-cvs__Makefile	Sun Jan  3 19:11:33 2021	(r560032)
+++ head/devel/cvs/files/patch-cvs__Makefile	Sun Jan  3 19:21:21 2021	(r560033)
@@ -1,8 +1,13 @@
---- ../cvs-build/cvs/Makefile.orig	2012-09-06 06:25:43.000000000 +0400
-+++ ../cvs-build/cvs/Makefile	2014-07-15 12:37:28.000000000 +0400
-@@ -32,7 +32,7 @@
- DPADD=	${LIBCVS} ${LIBDIFF} ${LIBGNUREGEX} ${LIBMD} ${LIBCRYPT} ${LIBZ}
- LDADD=	${LIBCVS} ${LIBDIFF} -lgnuregex -lmd -lcrypt -lz
+--- ../cvs-build/cvs/Makefile.orig	2012-09-05 19:25:43.000000000 -0700
++++ ../cvs-build/cvs/Makefile	2021-01-02 17:11:22.159883000 -0800
+@@ -29,10 +29,10 @@
+ 	 -I/usr/include/gnu \
+ 	 -I${CVSDIR}/lib -I${CVSDIR}/diff -I.
+ 
+-DPADD=	${LIBCVS} ${LIBDIFF} ${LIBGNUREGEX} ${LIBMD} ${LIBCRYPT} ${LIBZ}
+-LDADD=	${LIBCVS} ${LIBDIFF} -lgnuregex -lmd -lcrypt -lz
++DPADD=	${LIBCVS} ${LIBDIFF} ${LIBMD} ${LIBCRYPT} ${LIBZ}
++LDADD=	${LIBCVS} ${LIBDIFF} -lmd -lcrypt -lz
  
 -.if ${MK_KERBEROS_SUPPORT} != "no"
 +.if defined(KERBEROS_SUPPORT)

Added: head/devel/cvs/files/patch-cvs__lib_Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/cvs/files/patch-cvs__lib_Makefile	Sun Jan  3 19:21:21 2021	(r560033)
@@ -0,0 +1,22 @@
+--- ../cvs-build/lib/Makefile.orig	2012-09-05 19:19:41.000000000 -0700
++++ ../cvs-build/lib/Makefile	2021-01-02 17:10:09.173277000 -0800
+@@ -11,9 +11,7 @@
+ LIB=		cvs
+ INTERNALLIB=
+ 
+-# gnu must be before lib to pick correct regex.h
+-CFLAGS+= -I. -I${CVSDIR}/src -I/usr/include/gnu \
+-	 -I${CVSDIR}/lib
++CFLAGS+= -I. -I${CVSDIR}/src -I${CVSDIR}/lib
+ CFLAGS+= -DHAVE_CONFIG_H
+ YFLAGS=
+ CLEANFILES+=	config.h
+@@ -23,7 +21,7 @@
+ CVS_TMPDIR_DFLT?=	/tmp
+ 
+ SRCS=	config.h argmatch.c getdate.y getline.c \
+-	getopt.c getopt1.c savecwd.c \
++	getopt.c getopt1.c regex.c savecwd.c \
+ 	sighandle.c stripslash.c \
+ 	xgetwd.c yesno.c
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101031921.103JLM4P062499>