From tkato@prontomail.com  Mon Sep 29 06:50:28 2003
Return-Path: <tkato@prontomail.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 67A1116A4BF
	for <FreeBSD-gnats-submit@FreeBSD.org>; Mon, 29 Sep 2003 06:46:58 -0700 (PDT)
Received: from hfep01.dion.ne.jp (hfep01.dion.ne.jp [203.181.105.67])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 54FF444022
	for <FreeBSD-gnats-submit@FreeBSD.org>; Mon, 29 Sep 2003 06:46:57 -0700 (PDT)
	(envelope-from tkato@prontomail.com)
Received: from localhost ([219.108.124.155]) by hfep01.dion.ne.jp with SMTP
          id <20030929134654433.WKGM@hfep01.dion.ne.jp>
          for <FreeBSD-gnats-submit@FreeBSD.org>;
          Mon, 29 Sep 2003 22:46:54 +0900
Message-Id: <20030929224534.4b97973b.tkato@prontomail.com>
Date: Mon, 29 Sep 2003 22:45:34 +0900
From: KATO Tsuguru <tkato@prontomail.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Subject: Update port: textproc/wv2

>Number:         57360
>Category:       ports
>Synopsis:       Update port: textproc/wv2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lofi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 29 07:00:29 PDT 2003
>Closed-Date:    Tue Sep 30 10:35:44 PDT 2003
>Last-Modified:  Tue Sep 30 10:35:44 PDT 2003
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Do not install useless .la file

New file:
files/patch-configure

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/textproc/wv2/Makefile textproc/wv2/Makefile
--- /usr/ports/textproc/wv2/Makefile	Sat Sep 27 03:01:34 2003
+++ textproc/wv2/Makefile	Sun Sep 28 20:00:15 2003
@@ -16,17 +16,15 @@
 
 LIB_DEPENDS=	iconv:${PORTSDIR}/converters/libiconv
 
-CONFIGURE_ARGS=	--with-libiconv=${LOCALBASE} --program-transform-name=
+CONFIGURE_ARGS=	--with-libiconv=${LOCALBASE}
 
-USE_GNOME=	libgsf
+USE_GNOME=	gnometarget libgsf
 USE_LIBTOOL=	yes
 USE_BZIP2=	yes
 USE_GMAKE=	yes
 INSTALLS_SHLIB=	yes
-USE_REINPLACE=	yes
 
 post-extract:
 	@${TOUCH} ${WRKSRC}/config.h.in
-	@${REINPLACE_CMD} "s,-pedantic ,," ${WRKSRC}/configure
 
 .include <bsd.port.mk>
diff -urN /usr/ports/textproc/wv2/files/patch-configure textproc/wv2/files/patch-configure
--- /usr/ports/textproc/wv2/files/patch-configure	Thu Jan  1 09:00:00 1970
+++ textproc/wv2/files/patch-configure	Sun Sep 28 20:04:35 2003
@@ -0,0 +1,19 @@
+--- configure.orig	Thu Aug  7 23:26:19 2003
++++ configure	Sun Sep 28 20:01:00 2003
+@@ -3532,7 +3532,7 @@
+ 
+           ;;
+         esac
+-        CXXFLAGS="-Wall -pedantic -W -Wpointer-arith -Wwrite-strings $CXXFLAGS"
++        CXXFLAGS="-Wall -W -Wpointer-arith -Wwrite-strings $CXXFLAGS"
+ 
+ echo "$as_me:$LINENO: checking whether $CXX supports -Wundef" >&5
+ echo $ECHO_N "checking whether $CXX supports -Wundef... $ECHO_C" >&6
+@@ -10116,6 +10116,7 @@
+ 
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+ 
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff -urN /usr/ports/textproc/wv2/pkg-plist textproc/wv2/pkg-plist
--- /usr/ports/textproc/wv2/pkg-plist	Sat Sep 27 03:01:34 2003
+++ textproc/wv2/pkg-plist	Sun Sep 28 19:56:32 2003
@@ -22,7 +22,7 @@
 include/wv2/word95_generated.h
 include/wv2/word97_generated.h
 include/wv2/word_helper.h
-lib/libwv2.la
+lib/libwv2.a
 lib/libwv2.so
 lib/libwv2.so.1
 @dirrm include/wv2
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->lofi  
Responsible-Changed-By: krion 
Responsible-Changed-When: Mon Sep 29 07:07:12 PDT 2003 
Responsible-Changed-Why:  
Over to maintainer 

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

From: Michael Nottebrock <michaelnottebrock@gmx.net>
To: freebsd-gnats-submit@FreeBSD.org, tkato@prontomail.com
Cc:  
Subject: Re: ports/57360: Update port: textproc/wv2
Date: Mon, 29 Sep 2003 18:56:11 +0200

 The libtool archive is not useless and stays (the port was created because 
 libwv2 is a dependency of future koffice versions and all KDE software uses 
 libtool archives. The widespread notion of libtool archives being generally 
 useless is incorrect.).
 
State-Changed-From-To: open->closed 
State-Changed-By: lofi 
State-Changed-When: Mon Sep 29 10:00:44 PDT 2003 
State-Changed-Why:  
Committed (in part). Thanks! 


http://www.freebsd.org/cgi/query-pr.cgi?pr=57360 
State-Changed-From-To: closed->open 
State-Changed-By: lofi 
State-Changed-When: Tue Sep 30 10:31:54 PDT 2003 
State-Changed-Why:  
Additional feedback from originator. 

From: KATO Tsuguru <tkato@prontomail.com>
To: Michael Nottebrock <michaelnottebrock@gmx.net>
Subject: Re: ports/57360: Update port: textproc/wv2

Using USE_LIBTOOL is not only for avoiding installing libtool
archives. And then, applying minimal patch to configure
script is necessary to support USE_LIBTOOL properly.

If you want to keep installing libtool archives, ports/wv2
should have to be modified as follows:

diff -urN /usr/ports/textproc/wv2/Makefile wv2/Makefile
--- /usr/ports/textproc/wv2/Makefile    Tue Sep 30 11:02:19 2003
+++ wv2/Makefile        Tue Sep 30 23:50:38 2003
@@ -20,6 +20,7 @@
 
 USE_GNOME=     gnometarget libgsf
 USE_LIBTOOL=   yes
+LIBTOOLFLAGS=  # none
 USE_BZIP2=     yes
 USE_GMAKE=     yes
 INSTALLS_SHLIB=        yes
diff -urN /usr/ports/textproc/wv2/files/patch-configure wv2/files/patch-configure
--- /usr/ports/textproc/wv2/files/patch-configure       Thu Jan  1 09:00:00 1970
+++ wv2/files/patch-configure   Tue Sep 30 23:51:30 2003
@@ -0,0 +1,10 @@
+--- configure.orig     Tue Sep 30 23:50:55 2003
++++ configure  Tue Sep 30 23:51:13 2003
+@@ -10116,6 +10116,7 @@
+ 
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+ 
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff -urN /usr/ports/textproc/wv2/pkg-plist wv2/pkg-plist
--- /usr/ports/textproc/wv2/pkg-plist   Sat Sep 27 03:01:34 2003
+++ wv2/pkg-plist       Tue Sep 30 23:51:49 2003
@@ -22,6 +22,7 @@
 include/wv2/word95_generated.h
 include/wv2/word97_generated.h
 include/wv2/word_helper.h
+lib/libwv2.a
 lib/libwv2.la
 lib/libwv2.so
 lib/libwv2.so.1


http://www.freebsd.org/cgi/query-pr.cgi?pr=57360 
State-Changed-From-To: open->closed 
State-Changed-By: lofi 
State-Changed-When: Tue Sep 30 10:35:27 PDT 2003 
State-Changed-Why:  
Committed, thanks! 


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