From nobody@FreeBSD.org  Sun Mar 16 22:38:16 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 10930106567B
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 16 Mar 2008 22:38:16 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id E08778FC19
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 16 Mar 2008 22:38:15 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m2GMYoxI093408
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 16 Mar 2008 22:34:50 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m2GMYoTd093407;
	Sun, 16 Mar 2008 22:34:50 GMT
	(envelope-from nobody)
Message-Id: <200803162234.m2GMYoTd093407@www.freebsd.org>
Date: Sun, 16 Mar 2008 22:34:50 GMT
From: David Barksdale <amatus@gnu.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Update port: devel/cdialog
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: carpetsmoker@xs4all.nl

>Number:         121769
>Category:       ports
>Synopsis:       Update port: devel/cdialog
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lippe
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 16 22:40:03 UTC 2008
>Closed-Date:    Thu Apr 03 02:27:18 UTC 2008
>Last-Modified:  Thu Apr 03 02:27:18 UTC 2008
>Originator:     David Barksdale
>Release:        
>Organization:
>Environment:
>Description:
This patch adds libtoolized shared libraries and allows the objects to be linked into PIC code.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN /usr/ports/devel/cdialog/Makefile devel/cdialog/Makefile
--- /usr/ports/devel/cdialog/Makefile	2008-02-05 00:13:40.570407132 -0600
+++ devel/cdialog/Makefile	2008-03-15 20:37:32.376612083 -0500
@@ -8,6 +8,7 @@
 
 PORTNAME=	cdialog
 PORTVERSION=	1.1.20071028
+PORTREVISION=   1
 PORTEPOCH=	1
 CATEGORIES=	devel
 MASTER_SITES=	ftp://invisible-island.net/dialog/ \
@@ -20,7 +21,8 @@
 COMMENT=	An enhanced version of 'dialog' to work with ncurses
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--includedir=${PREFIX}/include/${PORTNAME}
+USE_LDCONFIG=   yes
+CONFIGURE_ARGS=	--includedir=${PREFIX}/include/${PORTNAME} --with-libtool
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 MAKEFILE=	makefile
 
diff -ruN /usr/ports/devel/cdialog/files/patch-makefile.in devel/cdialog/files/patch-makefile.in
--- /usr/ports/devel/cdialog/files/patch-makefile.in	2007-04-10 00:40:23.000000000 -0500
+++ devel/cdialog/files/patch-makefile.in	2008-03-15 19:56:20.797582625 -0500
@@ -1,6 +1,24 @@
---- makefile.in.orig	Sun Mar 25 22:23:30 2007
-+++ makefile.in	Sun Apr  8 18:46:09 2007
-@@ -153,7 +153,7 @@
+--- makefile.in	2008-03-15 19:55:17.680943499 -0500
++++ makefile.in	2008-03-15 19:55:36.656135598 -0500
+@@ -102,7 +102,7 @@
+ 	dlg_config.h \
+ 	dlg_keys.h
+ 
+-LIB	= @LIB_PREFIX@dialog$a
++LIB	= @LIB_PREFIX@cdialog$a
+ PROG	= dialog$x
+ ALL	= $(LIB) $(PROG)
+ 
+@@ -126,7 +126,7 @@
+ 	$(RANLIB) $@
+ 
+ dialog$x : $(LIB) dialog$o @INTLDIR_MAKE@ @INTLLIBS@
+-	$(LINK) -o $@ dialog$o -L. -ldialog $(LDFLAGS) $(LIBS)
++	$(LINK) -o $@ dialog$o -L. -lcdialog $(LDFLAGS) $(LIBS)
+ 
+ clean	\
+ distclean \
+@@ -159,7 +159,7 @@
  	@echo "made $@"
  
  install-strip :: $(PROG) $(BINDIR)
@@ -9,7 +27,7 @@
  
  uninstall :: uninstall-bin uninstall-man
  	@echo "made $@"
-@@ -168,7 +168,7 @@
+@@ -174,7 +174,7 @@
  	$(RM) $(BINDIR)/$(PACKAGE)$x
  
  install-man :: $(MAN1DIR)
@@ -18,7 +36,7 @@
  
  uninstall-man ::
  	$(RM) $(MAN1DIR)/$(PACKAGE).1
-@@ -176,11 +176,11 @@
+@@ -182,7 +182,7 @@
  # most users do not want/need the library, so the install rules are distinct.
  install-lib :: $(BINDIR) dialog-config
  	@ echo "** installing config script in $(BINDIR)"
@@ -27,12 +45,7 @@
  
  install-lib :: $(LIB_DIRS) $(LIB) headers.sed
  	@ echo "** installing library in $(LIBDIR)"
--	@ $(LIBTOOL_INSTALL) $(INSTALL_DATA) $(LIB) $(LIBDIR)
-+	@ $(LIBTOOL_INSTALL) $(INSTALL_DATA) $(LIB) $(LIBDIR)/@LIB_PREFIX@cdialog$a
- 	@ echo "** installing headers in $(INCLUDEDIR)"
- 	@ $(SHELL) $(srcdir)/headers.sh $(INSTALL_DATA) $(INCLUDEDIR) $(srcdir) dialog.h
- 	@ $(SHELL) $(srcdir)/headers.sh $(INSTALL_DATA) $(INCLUDEDIR) $(srcdir) dlg_colors.h
-@@ -198,7 +198,7 @@
+@@ -204,7 +204,7 @@
  	$(RM) $(INCLUDEDIR)/dlg_config.h
  
  install-lib :: $(MAN3DIR)
diff -ruN /usr/ports/devel/cdialog/pkg-plist devel/cdialog/pkg-plist
--- /usr/ports/devel/cdialog/pkg-plist	2008-02-05 00:13:40.612407442 -0600
+++ devel/cdialog/pkg-plist	2008-03-15 20:00:53.812347351 -0500
@@ -5,6 +5,9 @@
 include/cdialog/dlg_config.h
 include/cdialog/dlg_keys.h
 lib/libcdialog.a
+lib/libcdialog.la
+lib/libcdialog.so
+lib/libcdialog.so.6
 %%EXAMPLESDIR%%/README
 %%EXAMPLESDIR%%/calendar
 %%EXAMPLESDIR%%/calendar-stdout


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sun Mar 16 22:40:08 UTC 2008 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121769 
Responsible-Changed-From-To: freebsd-ports-bugs->lippe 
Responsible-Changed-By: lippe 
Responsible-Changed-When: Tue Mar 18 05:04:55 UTC 2008 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121769 

From: Martin Tournoij <carpetsmoker@xs4all.nl>
To: bug-followup@FreeBSD.org, amatus@gnu.org
Cc:  
Subject: Re: ports/121769: Update port: devel/cdialog
Date: Tue, 18 Mar 2008 11:49:57 +0100

 --NzB8fVQJ5HfG6fxh
 Content-Type: text/plain; charset=utf-8
 Content-Disposition: inline
 
 Thank you for your patch David.
 
 A new patch is attached in this email, it also updates cdialog to the
 newest version.
 
 Regards,
 Martin Tournoij
 
 --NzB8fVQJ5HfG6fxh
 Content-Type: text/x-diff; charset=utf-8
 Content-Disposition: attachment; filename="cdialog.diff"
 
 diff -urN --exclude CVS /ports/devel/cdialog/Makefile devel/cdialog/Makefile
 --- /ports/devel/cdialog/Makefile	2008-01-17 13:48:11.000000000 +0100
 +++ devel/cdialog/Makefile	2008-03-18 11:46:55.000000000 +0100
 @@ -2,12 +2,12 @@
  # Date created:		2003-01-11
  # Whom:			AlanE <alane@freebsd.org>
  #
 -# $Carpetsmoker: ports/cdialog/Makefile,v 1.4 2007/04/22 11:30:53 carpetsmoker Exp $
 +# $Carpetsmoker: ports/devel/cdialog/Makefile,v 1.4 2008/01/24 15:02:21 carpetsmoker Exp $
  # $FreeBSD: ports/devel/cdialog/Makefile,v 1.25 2008/01/14 14:21:25 bsam Exp $
  #
  
  PORTNAME=	cdialog
 -PORTVERSION=	1.1.20071028
 +PORTVERSION=	1.1.20080316
  PORTEPOCH=	1
  CATEGORIES=	devel
  MASTER_SITES=	ftp://invisible-island.net/dialog/ \
 @@ -19,8 +19,11 @@
  MAINTAINER=	carpetsmoker@xs4all.nl
  COMMENT=	An enhanced version of 'dialog' to work with ncurses
  
 +BUILD_DEPENDS=	libtool:${PORTSDIR}/devel/libtool15
 +USE_AUTOTOOLS=	libool:15
  GNU_CONFIGURE=	yes
 -CONFIGURE_ARGS=	--includedir=${PREFIX}/include/${PORTNAME}
 +USE_LDCONFIG=   yes
 +CONFIGURE_ARGS=	--includedir=${PREFIX}/include/${PORTNAME} --with-libtool
  CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
  MAKEFILE=	makefile
  
 diff -urN --exclude CVS /ports/devel/cdialog/distinfo devel/cdialog/distinfo
 --- /ports/devel/cdialog/distinfo	2008-01-17 13:48:11.000000000 +0100
 +++ devel/cdialog/distinfo	2008-03-18 11:26:08.000000000 +0100
 @@ -1,3 +1,3 @@
 -MD5 (dialog-1.1-20071028.tgz) = 73604d3b3a43b5a122709a7a8e4edee2
 -SHA256 (dialog-1.1-20071028.tgz) = 1841fdd89c1d680c11ea854bc2ea93a08c80ba066d74a5faeb3ff76409e6e751
 -SIZE (dialog-1.1-20071028.tgz) = 369837
 +MD5 (dialog-1.1-20080316.tgz) = 3d262cbc41e4db23251e7be924c4a28b
 +SHA256 (dialog-1.1-20080316.tgz) = bd11acbc57442930160dbbcea2d5024a27c71774c24412c44b9cdece9894e707
 +SIZE (dialog-1.1-20080316.tgz) = 373022
 diff -urN --exclude CVS /ports/devel/cdialog/files/patch-makefile.in devel/cdialog/files/patch-makefile.in
 --- /ports/devel/cdialog/files/patch-makefile.in	2007-04-10 07:40:23.000000000 +0200
 +++ devel/cdialog/files/patch-makefile.in	2008-03-18 11:24:48.000000000 +0100
 @@ -1,6 +1,24 @@
 ---- makefile.in.orig	Sun Mar 25 22:23:30 2007
 -+++ makefile.in	Sun Apr  8 18:46:09 2007
 -@@ -153,7 +153,7 @@
 +--- makefile.in	2008-03-15 19:55:17.680943499 -0500
 ++++ makefile.in	2008-03-15 19:55:36.656135598 -0500
 +@@ -102,7 +102,7 @@
 + 	dlg_config.h \
 + 	dlg_keys.h
 + 
 +-LIB	= @LIB_PREFIX@dialog$a
 ++LIB	= @LIB_PREFIX@cdialog$a
 + PROG	= dialog$x
 + ALL	= $(LIB) $(PROG)
 + 
 +@@ -126,7 +126,7 @@
 + 	$(RANLIB) $@
 + 
 + dialog$x : $(LIB) dialog$o @INTLDIR_MAKE@ @INTLLIBS@
 +-	$(LINK) -o $@ dialog$o -L. -ldialog $(LDFLAGS) $(LIBS)
 ++	$(LINK) -o $@ dialog$o -L. -lcdialog $(LDFLAGS) $(LIBS)
 + 
 + clean	\
 + distclean \
 +@@ -159,7 +159,7 @@
   	@echo "made $@"
   
   install-strip :: $(PROG) $(BINDIR)
 @@ -9,7 +27,7 @@
   
   uninstall :: uninstall-bin uninstall-man
   	@echo "made $@"
 -@@ -168,7 +168,7 @@
 +@@ -174,7 +174,7 @@
   	$(RM) $(BINDIR)/$(PACKAGE)$x
   
   install-man :: $(MAN1DIR)
 @@ -18,7 +36,7 @@
   
   uninstall-man ::
   	$(RM) $(MAN1DIR)/$(PACKAGE).1
 -@@ -176,11 +176,11 @@
 +@@ -182,7 +182,7 @@
   # most users do not want/need the library, so the install rules are distinct.
   install-lib :: $(BINDIR) dialog-config
   	@ echo "** installing config script in $(BINDIR)"
 @@ -27,12 +45,7 @@
   
   install-lib :: $(LIB_DIRS) $(LIB) headers.sed
   	@ echo "** installing library in $(LIBDIR)"
 --	@ $(LIBTOOL_INSTALL) $(INSTALL_DATA) $(LIB) $(LIBDIR)
 -+	@ $(LIBTOOL_INSTALL) $(INSTALL_DATA) $(LIB) $(LIBDIR)/@LIB_PREFIX@cdialog$a
 - 	@ echo "** installing headers in $(INCLUDEDIR)"
 - 	@ $(SHELL) $(srcdir)/headers.sh $(INSTALL_DATA) $(INCLUDEDIR) $(srcdir) dialog.h
 - 	@ $(SHELL) $(srcdir)/headers.sh $(INSTALL_DATA) $(INCLUDEDIR) $(srcdir) dlg_colors.h
 -@@ -198,7 +198,7 @@
 +@@ -204,7 +204,7 @@
   	$(RM) $(INCLUDEDIR)/dlg_config.h
   
   install-lib :: $(MAN3DIR)
 diff -urN --exclude CVS /ports/devel/cdialog/pkg-descr devel/cdialog/pkg-descr
 --- /ports/devel/cdialog/pkg-descr	2003-01-31 09:35:37.000000000 +0100
 +++ devel/cdialog/pkg-descr	2007-11-14 08:03:43.000000000 +0100
 @@ -7,6 +7,3 @@
  adding new widget types. See the changelog for details."
  
  WWW: http://invisible-island.net/dialog/
 -
 ---
 -AlanE <alane@freebsd.org>
 diff -urN --exclude CVS /ports/devel/cdialog/pkg-plist devel/cdialog/pkg-plist
 --- /ports/devel/cdialog/pkg-plist	2008-01-17 13:48:11.000000000 +0100
 +++ devel/cdialog/pkg-plist	2008-03-18 11:24:48.000000000 +0100
 @@ -5,6 +5,9 @@
  include/cdialog/dlg_config.h
  include/cdialog/dlg_keys.h
  lib/libcdialog.a
 +lib/libcdialog.la
 +lib/libcdialog.so
 +lib/libcdialog.so.6
  %%EXAMPLESDIR%%/README
  %%EXAMPLESDIR%%/calendar
  %%EXAMPLESDIR%%/calendar-stdout
 
 --NzB8fVQJ5HfG6fxh--

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/121769: commit references a PR
Date: Thu,  3 Apr 2008 02:12:03 +0000 (UTC)

 lippe       2008-04-03 02:11:57 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel/cdialog        Makefile distinfo pkg-descr pkg-plist 
     devel/cdialog/files  patch-makefile.in 
   Log:
   - Update to 1.1.20080316. [1]
   - Libtoolized shared libraries and allows the objects to be linked into PIC code. [2]
   
   PR:             ports/121769
   Submitted by:   David Barksdale <amatus@gnu.org> [1], Martin Tournoij <carpetsmoker@xs4all.nl> (maintainer) [2]
   Approved by:    araujo (mentor), Martin Tournoij <carpetsmoker@xs4all.nl> (maintainer)
   
   Revision  Changes    Path
   1.26      +4 -2      ports/devel/cdialog/Makefile
   1.17      +3 -3      ports/devel/cdialog/distinfo
   1.3       +24 -11    ports/devel/cdialog/files/patch-makefile.in
   1.3       +0 -3      ports/devel/cdialog/pkg-descr
   1.14      +3 -0      ports/devel/cdialog/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: feedback->closed 
State-Changed-By: lippe 
State-Changed-When: Thu Apr 3 02:27:17 UTC 2008 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121769 
>Unformatted:
