ports/56525: Update port: devel/libedit to 2.6.7

KATO Tsuguru tkato at prontomail.com
Sat Sep 6 15:00:55 UTC 2003


>Number:         56525
>Category:       ports
>Synopsis:       Update port: devel/libedit to 2.6.7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 06 08:00:35 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update to version 2.6.7

Remove file:
files/patch-aa

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/devel/libedit/Makefile devel/libedit/Makefile
--- /usr/ports/devel/libedit/Makefile	Sat Apr 12 22:41:14 2003
+++ devel/libedit/Makefile	Fri Sep  5 02:27:57 2003
@@ -6,15 +6,16 @@
 #
 
 PORTNAME=	libedit
-PORTVERSION=	2.6.4
-PORTREVISION=	1
+PORTVERSION=	2.6.7
 CATEGORIES=	devel
-MASTER_SITES=	http://www.canonware.com/download/libedit/
+MASTER_SITES=	ftp://ftp.astron.com/pub/libedit/ \
+		http://www.canonware.com/download/libedit/
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Command line editing library
 
-USE_AUTOCONF=	yes
+USE_REINPLACE=	yes
+GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-readline
 INSTALLS_SHLIB=	yes
 
@@ -38,5 +39,9 @@
 		editline.3 history_end.3 \
 		editline.3 history.3
 MANCOMPRESSED=	no
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|CFLAGS -O|CFLAGS|g ; \
+		 s|MAJOR="2"|MAJOR="5"|g' ${WRKSRC}/configure
 
 .include <bsd.port.mk>
diff -urN /usr/ports/devel/libedit/distinfo devel/libedit/distinfo
--- /usr/ports/devel/libedit/distinfo	Mon Feb 11 10:34:29 2002
+++ devel/libedit/distinfo	Fri Sep  5 02:26:04 2003
@@ -1 +1 @@
-MD5 (libedit-2.6.4.tar.gz) = 596cd1fad4489abbd29289665bc25610
+MD5 (libedit-2.6.7.tar.gz) = 6640a3d3d58f0ce1d8c69cfd5cc5a517
diff -urN /usr/ports/devel/libedit/files/patch-aa devel/libedit/files/patch-aa
--- /usr/ports/devel/libedit/files/patch-aa	Fri Jan 17 19:39:07 2003
+++ devel/libedit/files/patch-aa	Thu Jan  1 09:00:00 1970
@@ -1,20 +0,0 @@
---- configure.in.orig	Mon Feb 11 08:36:44 2002
-+++ configure.in	Tue Jan 14 07:31:02 2003
-@@ -118,7 +118,7 @@
-   CPPFLAGS="$CPPFLAGS -DDEBUG_TTY -DDEBUG_KEY -DDEBUG_READ -DDEBUG"
-   CPPFLAGS="$CPPFLAGS -DDEBUG_REFRESH -DDEBUG_PASTE"
- else
--  CFLAGS="$CFLAGS -O"
-+  CFLAGS="$CFLAGS"
- fi
- 
- 
-@@ -169,7 +169,7 @@
- 
- dnl Library settings.
- LIB_DIRS="lib"
--LIB_MAJOR="2"
-+LIB_MAJOR="5"
- LIB_MINOR="6"
- LIB_A="libedit.a"
- LIB_A_LINKS=
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list