From owner-freebsd-ports Thu May 9 20:20:23 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0A77737B40B for ; Thu, 9 May 2002 20:20:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4A3K2b85024; Thu, 9 May 2002 20:20:02 -0700 (PDT) (envelope-from gnats) Received: from white.imgsrc.co.jp (ns.imgsrc.co.jp [210.226.20.2]) by hub.freebsd.org (Postfix) with ESMTP id 84AA237B403 for ; Thu, 9 May 2002 20:10:30 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by white.imgsrc.co.jp (Postfix) with ESMTP id A0E8E24D06 for ; Fri, 10 May 2002 12:10:29 +0900 (JST) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [2001:218:422:2::130]) by white.imgsrc.co.jp (Postfix) with ESMTP id 953E224D29 for ; Fri, 10 May 2002 12:10:18 +0900 (JST) Received: from ale.imgsrc.co.jp (ale.imgsrc.co.jp [210.226.20.142]) by black.imgsrc.co.jp (Postfix) with ESMTP id 166391E4811 for ; Fri, 10 May 2002 12:10:17 +0900 (JST) Received: (from max@localhost) by ale.imgsrc.co.jp (8.12.3/8.12.3/Submit) id g4A3AI1x000343; Fri, 10 May 2002 12:10:18 +0900 (JST) (envelope-from max) Message-Id: <200205100310.g4A3AI1x000343@ale.imgsrc.co.jp> Date: Fri, 10 May 2002 12:10:18 +0900 (JST) From: Masafumi NAKANE To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/37914: libiconv port cannot be built without root privilege Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 37914 >Category: ports >Synopsis: libiconv port cannot be built without root privilege >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 09 20:20:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Masafumi NAKANE >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: System: FreeBSD ale.imgsrc.co.jp 4.5-STABLE FreeBSD 4.5-STABLE #0: Thu Apr 25 18:39:22 JST 2002 max@amber.imgsrc.co.jp:/usr/obj/usr/src/sys/GENERIC i386 >Description: libiconv port tries to install some files during the build process, thus fails if run as regular user. >How-To-Repeat: Build the libiconv port as a regular user. >Fix: The following patch fixes the build process, however, it is not tested whether the libraries built with this patch applied actually works properly. Index: files/patch-aa =================================================================== RCS file: /home/ncvs/ports/converters/libiconv/files/patch-aa,v retrieving revision 1.5 diff -u -r1.5 patch-aa --- files/patch-aa 18 Mar 2002 09:43:24 -0000 1.5 +++ files/patch-aa 9 May 2002 08:25:23 -0000 @@ -1,9 +1,11 @@ - -$FreeBSD: ports/converters/libiconv/files/patch-aa,v 1.5 2002/03/18 09:43:24 sobomax Exp $ - ---- Makefile.in.orig Tue Feb 20 21:43:19 2001 -+++ Makefile.in Sun Mar 17 11:01:20 2002 -@@ -31,7 +31,7 @@ +--- Makefile.in.orig Wed Feb 21 04:43:19 2001 ++++ Makefile.in Thu May 9 17:20:17 2002 +@@ -27,11 +27,11 @@ + SHELL = /bin/sh + + all : force +- builddir="`pwd`"; cd libcharset && $(MAKE) all && $(MAKE) install-lib libdir="$$builddir/lib" includedir="$$builddir/lib" ++ builddir="`pwd`"; cd libcharset && $(MAKE) all cd lib && $(MAKE) all cd src && $(MAKE) all cd man && $(MAKE) all Index: files/patch-ad =================================================================== RCS file: /home/ncvs/ports/converters/libiconv/files/patch-ad,v retrieving revision 1.5 diff -u -r1.5 patch-ad --- files/patch-ad 18 Mar 2002 09:43:24 -0000 1.5 +++ files/patch-ad 9 May 2002 08:26:04 -0000 @@ -1,8 +1,14 @@ - -$FreeBSD: ports/converters/libiconv/files/patch-ad,v 1.5 2002/03/18 09:43:24 sobomax Exp $ - ---- lib/Makefile.in.orig Thu Jun 28 01:37:49 2001 -+++ lib/Makefile.in Sun Mar 17 11:34:57 2002 +--- lib/Makefile.in.orig Thu Jun 28 07:37:49 2001 ++++ lib/Makefile.in Thu May 9 17:20:53 2002 +@@ -16,7 +16,7 @@ + CFLAGS = @CFLAGS@ + CPPFLAGS = @CPPFLAGS@ + LDFLAGS = @LDFLAGS@ +-INCLUDES = -I. -I$(srcdir) -I../include -I$(srcdir)/../include ++INCLUDES = -I. -I$(srcdir) -I../include -I$(srcdir)/../include -I../libcharset/include + LIBTOOL = @LIBTOOL@ + LIBTOOL_COMPILE = $(LIBTOOL) --mode=compile + LIBTOOL_LINK = $(LIBTOOL) --mode=link @@ -39,7 +39,7 @@ # Before making a release, change this according to the libtool documentation, >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message