ports/101929: [PATCH] devel/libtecla: update to 1.6.1, honor CFLAGS, fix pkg-plist, take maintainership

Stanislav Sedov ssedov at mbsd.msk.ru
Sat Aug 12 16:10:17 UTC 2006


>Number:         101929
>Category:       ports
>Synopsis:       [PATCH] devel/libtecla: update to 1.6.1, honor CFLAGS, fix pkg-plist, take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 12 16:10:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Stanislav Sedov
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
MBSD labs, Inc.
>Environment:
System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Wed Aug  2 21:44:37 MSD
>Description:
- Update to 1.6.1
- Respect CFLAGS
- Fix pkg-plist for non-standard prefixes
- Take maintainership

The following files was added:
- files/patch-Makefile.in
- files/patch-demo3.c

ChangeLog:
- added feature - the ability to call gl_normal_io() from
  callbacks registered by gl_watch_fd() and
  gl_inactivity_timeout(). This allows these callbacks to cleanly
  suspend line editing before either reading from the terminal, or
  writing to the terminal; and then subsequently causes the input line
  to be automatically redisplayed, and line-editing to be resumed by
  gl_get_line(), as soon as the callback returns.
- bugfixes

>How-To-Repeat:
>Fix:

--- libtecla-1.6.1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/libtecla/Makefile /var/tmp/ruby/libtecla/Makefile
--- /usr/ports/devel/libtecla/Makefile	Tue Nov 15 11:48:54 2005
+++ /var/tmp/ruby/libtecla/Makefile	Sat Aug 12 19:27:01 2006
@@ -7,21 +7,21 @@
 #
 
 PORTNAME=	libtecla
-PORTVERSION=	1.6.0
+PORTVERSION=	1.6.1
 CATEGORIES=	devel
 MASTER_SITES=	http://www.astro.caltech.edu/~mcs/tecla/
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	ssedov at mbsd.msk.ru
 COMMENT=	Interactive command line editing facilities
 
-USE_SUBMAKE=	yes
-USE_AUTOTOOLS=	autoconf:253
 WRKSRC=		${WRKDIR}/${PORTNAME}
+GNU_CONFIGURE=	yes
+USE_SUBMAKE=	yes
 ALL_TARGET=	default
+USE_LDCONFIG=	yes
 SCRIPTS_ENV=	WRKDIRPREFIX="${WRKDIRPREFIX}" \
-	REALCURDIR="${.CURDIR}" \
-	PORTNAME="${PORTNAME}"
-INSTALLS_SHLIB=	yes
+		REALCURDIR="${.CURDIR}" \
+		PORTNAME="${PORTNAME}"
 
 .include <bsd.port.pre.mk>
 .if ${OSVERSION} < 500000
diff -ruN --exclude=CVS /usr/ports/devel/libtecla/distinfo /var/tmp/ruby/libtecla/distinfo
--- /usr/ports/devel/libtecla/distinfo	Thu Nov 24 20:39:26 2005
+++ /var/tmp/ruby/libtecla/distinfo	Wed Aug  9 16:22:44 2006
@@ -1,3 +1,3 @@
-MD5 (libtecla-1.6.0.tar.gz) = 4dbfe11c026e20e3e2352ce2b1573363
-SHA256 (libtecla-1.6.0.tar.gz) = 39398426a6bd8b023982e392b665810539688553ed9549c09f7d82fe6580497b
-SIZE (libtecla-1.6.0.tar.gz) = 513586
+MD5 (libtecla-1.6.1.tar.gz) = 1892c8db9fecd38ed686b3ccf72a569b
+SHA256 (libtecla-1.6.1.tar.gz) = 21db2947bd1415070e0462673aa9bed04610946e09169fcd63e02557b0d999a1
+SIZE (libtecla-1.6.1.tar.gz) = 518995
diff -ruN --exclude=CVS /usr/ports/devel/libtecla/files/patch-Makefile.in /var/tmp/ruby/libtecla/files/patch-Makefile.in
--- /usr/ports/devel/libtecla/files/patch-Makefile.in	Thu Jan  1 05:00:00 1970
+++ /var/tmp/ruby/libtecla/files/patch-Makefile.in	Sat Aug 12 19:22:10 2006
@@ -0,0 +1,11 @@
+--- Makefile.in.orig	Sat Aug 12 19:21:54 2006
++++ Makefile.in	Sat Aug 12 19:22:00 2006
+@@ -93,7 +93,7 @@
+ # on modifying the library, leave this set to -O.
+ #
+ 
+-OPT = -O
++OPT =
+ 
+ #
+ # These are paranoid gcc warning flags to use when compiling new code.
diff -ruN --exclude=CVS /usr/ports/devel/libtecla/files/patch-demo3.c /var/tmp/ruby/libtecla/files/patch-demo3.c
--- /usr/ports/devel/libtecla/files/patch-demo3.c	Thu Jan  1 05:00:00 1970
+++ /var/tmp/ruby/libtecla/files/patch-demo3.c	Sat Aug 12 19:31:43 2006
@@ -0,0 +1,26 @@
+--- demo3.c.orig	Sat Aug 12 19:31:16 2006
++++ demo3.c	Sat Aug 12 19:31:29 2006
+@@ -37,17 +37,17 @@
+ #include <locale.h>
+ #include <setjmp.h>
+ 
+-#ifdef HAVE_SELECT
+-#ifdef HAVE_SYS_SELECT_H
+-#include <sys/select.h>
+-#endif
+-#endif
+-
+ #include <unistd.h>
+ #include <sys/stat.h>
+ #include <sys/time.h>    
+ #include <sys/types.h>
+ #include <signal.h>
++
++#ifdef HAVE_SELECT
++#ifdef HAVE_SYS_SELECT_H
++#include <sys/select.h>
++#endif
++#endif
+ 
+ #include "libtecla.h"
+ 
diff -ruN --exclude=CVS /usr/ports/devel/libtecla/pkg-plist /var/tmp/ruby/libtecla/pkg-plist
--- /usr/ports/devel/libtecla/pkg-plist	Thu Apr 22 03:24:50 2004
+++ /var/tmp/ruby/libtecla/pkg-plist	Sat Aug 12 19:29:38 2006
@@ -1,8 +1,10 @@
 bin/enhance
+include/libtecla.h
 lib/libtecla.a
 lib/libtecla.so
 lib/libtecla.so.1
 %%THREADS%%lib/libtecla_r.a
 %%THREADS%%lib/libtecla_r.so
 %%THREADS%%lib/libtecla_r.so.1
-include/libtecla.h
+ at comment For non-standart prefixes
+ at unexec rm -f %D/libdata/ldconfig/libtecla || true
--- libtecla-1.6.1.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list