From tkato@prontomail.com  Thu Jul 24 04:12:00 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 A0ED337B401
	for <FreeBSD-gnats-submit@FreeBSD.org>; Thu, 24 Jul 2003 04:12:00 -0700 (PDT)
Received: from hfep08.dion.ne.jp (hfep08.dion.ne.jp [203.181.105.74])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D961D43F75
	for <FreeBSD-gnats-submit@FreeBSD.org>; Thu, 24 Jul 2003 04:11:59 -0700 (PDT)
	(envelope-from tkato@prontomail.com)
Received: from localhost ([61.204.120.98]) by hfep08.dion.ne.jp with SMTP
          id <20030724111157449.VEEB@hfep08.dion.ne.jp>
          for <FreeBSD-gnats-submit@FreeBSD.org>;
          Thu, 24 Jul 2003 20:11:57 +0900
Message-Id: <20030724201111.20523d45.tkato@prontomail.com>
Date: Thu, 24 Jul 2003 20:11:11 +0900
From: KATO Tsuguru <tkato@prontomail.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Subject: Update port: lang/libutils

>Number:         54803
>Category:       ports
>Synopsis:       Update port: lang/libutils
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 24 04:20:14 PDT 2003
>Closed-Date:    Thu Jul 24 04:47:56 PDT 2003
>Last-Modified:  Thu Jul 24 04:47:56 PDT 2003
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
>Description:
- Support CFLAGS properly
- Do not install useless .la files

New file:
files/patch-configure

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/lang/libutils/Makefile lang/libutils/Makefile
--- /usr/ports/lang/libutils/Makefile	Fri Jun 13 10:21:34 2003
+++ lang/libutils/Makefile	Mon Jul 21 23:04:35 2003
@@ -8,6 +8,7 @@
 
 PORTNAME=	libutils
 PORTVERSION=	1.0.3
+PORTREVISION=	1
 CATEGORIES=	lang
 MASTER_SITES=	http://savannah.gnu.org/download/nsl/ \
 		http://iling.nw.ru/~artem/downloads/ \
@@ -16,9 +17,10 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Support lib for Tensile/NSL
 
+USE_GMAKE=	yes
 USE_LIBTOOL=	yes
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--prefix=${PREFIX}
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+MAKE_ARGS=	CFLAGS="${CFLAGS}"
 INSTALLS_SHLIB=	yes
 
 MAN3=		libutils.3
diff -urN /usr/ports/lang/libutils/files/patch-configure lang/libutils/files/patch-configure
--- /usr/ports/lang/libutils/files/patch-configure	Thu Jan  1 09:00:00 1970
+++ lang/libutils/files/patch-configure	Mon Jul 21 22:58:15 2003
@@ -0,0 +1,10 @@
+--- configure.orig	Wed Jun 11 19:04:47 2003
++++ configure	Mon Jul 21 22:58:08 2003
+@@ -8085,6 +8085,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/lang/libutils/pkg-plist lang/libutils/pkg-plist
--- /usr/ports/lang/libutils/pkg-plist	Fri Jun 13 10:21:34 2003
+++ lang/libutils/pkg-plist	Mon Jul 21 23:08:34 2003
@@ -3,6 +3,6 @@
 include/lists.h
 include/util.h
 lib/libutils.a
-lib/libutils.la
 lib/libutils.so
 lib/libutils.so.1
+share/aclocal/libutils.m4
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed  
State-Changed-By: krion 
State-Changed-When: Thu Jul 24 04:47:40 PDT 2003 
State-Changed-Why:  
Committed. Thanks! 

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