Date: Tue, 9 Sep 2008 20:58:24 GMT From: Alexey Shuvaev <shuvaev@physik.uni-wuerzburg.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/127256: [PATCH] devel/libtool15 hardcodes autodetected textproc/gsed Message-ID: <200809092058.m89KwOXo096910@www.freebsd.org> Resent-Message-ID: <200809092100.m89L06KW010917@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 127256 >Category: ports >Synopsis: [PATCH] devel/libtool15 hardcodes autodetected textproc/gsed >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Sep 09 21:00:05 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Alexey Shuvaev >Release: 8.0-CURRENT >Organization: University of Wuerzburg >Environment: FreeBSD localhost.my.domain 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sun Sep 7 12:03:13 CEST 2008 root@localhost.my.domain:/usr/obj/usr/src/sys/GENERIC i386 >Description: If one installs/rebuilds devel/libtool15 while textproc/gsed is installed, libtool autodetects it and hardcodes gsed in itself. If later one removes gsed (and nothing prevents him from doing this), libtool is left in a broken state. Other ports using libtool for building can fail with error 'gsed not found' or similar (in my case it was x11/libX11). FWIW, textproc/gsed is a BUILD_DEPENDS of some ports. This bug does not affect building packages on build clusters for 6.4/7.1 releases, but it will be in the ports tree bundled with them. The attached patch was provided by Dmitry Marakasov. >How-To-Repeat: >Fix: Patch attached with submission follows: Index: Makefile =================================================================== RCS file: /home/pcvs/ports/devel/libtool15/Makefile,v retrieving revision 1.62 diff -u -r1.62 Makefile --- Makefile 21 Aug 2008 06:16:44 -0000 1.62 +++ Makefile 9 Sep 2008 16:02:47 -0000 @@ -7,6 +7,7 @@ PORTNAME?= libtool PORTVERSION= 1.5.26 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= libtool Index: files/patch-configure =================================================================== RCS file: files/patch-configure diff -N files/patch-configure --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-configure 9 Sep 2008 16:02:47 -0000 @@ -0,0 +1,11 @@ +--- configure.orig 2008-02-01 19:38:42.000000000 +0300 ++++ configure 2008-09-09 20:01:57.000000000 +0400 +@@ -3615,7 +3615,7 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for lt_ac_prog in sed gsed; do ++ for lt_ac_prog in sed; do + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809092058.m89KwOXo096910>