From nobody@FreeBSD.org  Tue Sep 17 10:24:19 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7904537B40B
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 17 Sep 2002 10:24:19 -0700 (PDT)
Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4852443FB9
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 17 Sep 2002 09:52:59 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g8HGq9OT020845
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 17 Sep 2002 09:52:29 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.4/8.12.4/Submit) id g8HGpiqx019552;
	Tue, 17 Sep 2002 09:51:44 -0700 (PDT)
Message-Id: <200209171651.g8HGpiqx019552@www.freebsd.org>
Date: Tue, 17 Sep 2002 09:51:44 -0700 (PDT)
From: KATO Tsuguru <tkato@prontomail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Update port: devel/log4c
X-Send-Pr-Version: www-1.0

>Number:         42889
>Category:       ports
>Synopsis:       Update port: devel/log4c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 17 10:30:04 PDT 2002
>Closed-Date:    Wed Sep 18 07:32:54 PDT 2002
>Last-Modified:  Wed Sep 18 07:32:54 PDT 2002
>Originator:     KATO Tsuguru
>Release:        4.6.2-RELEASE i386
>Organization:
>Environment:
>Description:
- Support CFLAGS/CXXFLAGS properly
- Do not install useless .la files

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/devel/log4c/Makefile devel/log4c/Makefile
--- /usr/ports/devel/log4c/Makefile	Tue Sep 17 18:01:50 2002
+++ devel/log4c/Makefile	Wed Sep 18 01:50:46 2002
@@ -8,7 +8,7 @@
 
 PORTNAME=	log4c
 PORTVERSION=	1.0.6
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
 		http://www.cimai.com/opensource/log4c/
@@ -19,8 +19,8 @@
 LIB_DEPENDS=	expat.4:${PORTSDIR}/textproc/expat2
 
 USE_LIBTOOL=	yes
-GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
+CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
 INSTALLS_SHLIB=	yes
 
diff -urN /usr/ports/devel/log4c/files/patch-configure devel/log4c/files/patch-configure
--- /usr/ports/devel/log4c/files/patch-configure	Thu Jan  1 09:00:00 1970
+++ devel/log4c/files/patch-configure	Sun Sep 15 03:24:39 2002
@@ -0,0 +1,10 @@
+--- configure.orig	Thu May  2 02:30:57 2002
++++ configure	Sun Sep 15 03:24:28 2002
+@@ -6689,6 +6689,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/devel/log4c/pkg-plist devel/log4c/pkg-plist
--- /usr/ports/devel/log4c/pkg-plist	Thu Jul  4 14:32:19 2002
+++ devel/log4c/pkg-plist	Sun Sep 15 03:24:12 2002
@@ -14,9 +14,8 @@
 include/log4c/logging_event.h
 include/log4c/priority.h
 include/log4c/version.h
-@dirrm include/log4c
 lib/liblog4c.a
-lib/liblog4c.la
 lib/liblog4c.so
 lib/liblog4c.so.1
 share/aclocal/log4c.m4
+@dirrm include/log4c

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: roam 
State-Changed-When: Wed Sep 18 07:32:37 PDT 2002 
State-Changed-Why:  
Update committed, thanks! 

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