Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2002 20:59:14 -0700 (PDT)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/39640: Update port: devel/rlwrap to 0.12
Message-ID:  <200206220359.g5M3xExI002714@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         39640
>Category:       ports
>Synopsis:       Update port: devel/rlwrap to 0.12
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 21 21:00:05 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.6-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 0.12

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/devel/rlwrap/Makefile devel/rlwrap/Makefile
--- /usr/ports/devel/rlwrap/Makefile	Sat Sep 22 01:23:14 2001
+++ devel/rlwrap/Makefile	Sat Jun 22 01:58:31 2002
@@ -7,24 +7,27 @@
 #
 
 PORTNAME=	rlwrap
-PORTVERSION=	0.10
+PORTVERSION=	0.12
 CATEGORIES=	devel
 MASTER_SITES=	http://utopia.knoware.nl/~hlub/uck/rlwrap/
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	ports@FreeBSD.org
 
-LIB_DEPENDS=	gnugetopt:${PORTSDIR}/devel/libgnugetopt
+LIB_DEPENDS=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN=		"Requires readline 4.2 or newer"
+.endif
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
+CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
 ALL_TARGET=	# empty
 
-MANCOMPRESSED=	no
 MAN1=	rlwrap.1
 
-post-patch:
-	@${PERL} -pi -e "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/Makefile.in
-
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -urN /usr/ports/devel/rlwrap/distinfo devel/rlwrap/distinfo
--- /usr/ports/devel/rlwrap/distinfo	Sat Sep 22 01:23:15 2001
+++ devel/rlwrap/distinfo	Sat Jun 22 01:54:09 2002
@@ -1 +1 @@
-MD5 (rlwrap-0.10.tgz) = 4cc2ab18b15f96eb05dedfe365d0f0e1
+MD5 (rlwrap-0.12.tgz) = 27f04e27b202c4ee8b896e36f5067473
diff -urN /usr/ports/devel/rlwrap/files/patch-Makefile.in devel/rlwrap/files/patch-Makefile.in
--- /usr/ports/devel/rlwrap/files/patch-Makefile.in	Sat Sep 22 01:23:18 2001
+++ devel/rlwrap/files/patch-Makefile.in	Sat Jun 22 01:56:21 2002
@@ -1,11 +1,20 @@
---- Makefile.in.orig	Thu Sep 20 00:20:54 2001
-+++ Makefile.in	Thu Sep 20 00:21:03 2001
-@@ -27,7 +27,7 @@
+--- Makefile.in.orig	Fri Jun 21 18:13:49 2002
++++ Makefile.in	Sat Jun 22 01:56:14 2002
+@@ -14,6 +14,8 @@
  
+ oldincludedir = /usr/include
  
- rlwrap: $(OBJECTS)
--	$(CC)  -o rlwrap $(OBJECTS)  @READLINELIB@ @READLINE_SUPPLIB@
-+	$(CC)  -o rlwrap $(OBJECTS)  @READLINELIB@ @READLINE_SUPPLIB@ @LDFLAGS@
++CPPFLAGS      = @CPPFLAGS@
++
+ LDFLAGS       = @LDFLAGS@ -L$(libdir)
+ LIBS          = @LIBS@
+ SHELL         = /bin/sh
+@@ -21,7 +23,7 @@
  
- $(OBJECTS) : rlwrap.h 
  
+ CC = @CC@
+-CFLAGS= @CFLAGS@ -DVERSION=\"$(VERSION)\" -DSYSCONFDIR=\"$(sysconfdir)\" -Wall -I . -I $(includedir)
++CFLAGS= @CFLAGS@ $(CPPFLAGS) -DVERSION=\"$(VERSION)\" -DSYSCONFDIR=\"$(sysconfdir)\" -Wall -I . -I $(includedir)
+ SOURCES = main.c signals.c utils.c readline.c pty.c completion.c term.c  
+ OBJECTS = main.o signals.o utils.o readline.o pty.o completion.o term.o
+ TESTCLIENT=testclient
diff -urN /usr/ports/devel/rlwrap/files/patch-rlwrap.h devel/rlwrap/files/patch-rlwrap.h
--- /usr/ports/devel/rlwrap/files/patch-rlwrap.h	Sun Aug 12 20:07:24 2001
+++ devel/rlwrap/files/patch-rlwrap.h	Mon Mar  4 07:37:43 2002
@@ -1,13 +1,13 @@
---- rlwrap.h.orig	Sun Aug 12 18:59:20 2001
-+++ rlwrap.h	Sun Aug 12 18:58:52 2001
-@@ -34,6 +34,10 @@
- #include <getopt.h>
- #endif
+--- rlwrap.h.orig	Tue Sep 11 06:02:47 2001
++++ rlwrap.h	Mon Mar  4 07:37:19 2002
+@@ -36,6 +36,10 @@
+ #include <stdlib.h>
+ #include <time.h>
  
 +#ifdef HAVE_GETOPT_LONG
 +#include <getopt.h>
 +#endif
 +
- #include <string.h>
- #include <errno.h>
- #include <stdarg.h>
+ #ifdef HAVE_GETOPT_H
+ #include <getopt.h>
+ #endif

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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