Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 May 2002 12:10:18 +0900 (JST)
From:      Masafumi NAKANE <max@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/37914: libiconv port cannot be built without root privilege	
Message-ID:  <200205100310.g4A3AI1x000343@ale.imgsrc.co.jp>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205100310.g4A3AI1x000343>