From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Mar 6 00:10:06 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D5F8516A40B for ; Tue, 6 Mar 2007 00:10:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id B451213C4BF for ; Tue, 6 Mar 2007 00:10:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l260A6mj090989 for ; Tue, 6 Mar 2007 00:10:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l260A6bo090988; Tue, 6 Mar 2007 00:10:06 GMT (envelope-from gnats) Resent-Date: Tue, 6 Mar 2007 00:10:06 GMT Resent-Message-Id: <200703060010.l260A6bo090988@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tsurutani Naoki Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F1B8D16A402 for ; Tue, 6 Mar 2007 00:03:24 +0000 (UTC) (envelope-from turutani@231124.173202.kyoto-inetbb.jp) Received: from 231124.173202.kyoto-inetbb.jp (231124.173202.kyoto-inetbb.jp [202.173.124.231]) by mx1.freebsd.org (Postfix) with ESMTP id 8741513C4A3 for ; Tue, 6 Mar 2007 00:03:24 +0000 (UTC) (envelope-from turutani@231124.173202.kyoto-inetbb.jp) Received: from 231124.173202.kyoto-inetbb.jp (polymer12 [127.0.0.1]) by 231124.173202.kyoto-inetbb.jp (8.13.8/8.13.8) with ESMTP id l25NkaVV001223; Tue, 6 Mar 2007 08:46:36 +0900 (JST) (envelope-from turutani@231124.173202.kyoto-inetbb.jp) Received: (from turutani@localhost) by 231124.173202.kyoto-inetbb.jp (8.13.8/8.13.8/Submit) id l25NkaAL001222; Tue, 6 Mar 2007 08:46:36 +0900 (JST) (envelope-from turutani) Message-Id: <200703052346.l25NkaAL001222@231124.173202.kyoto-inetbb.jp> Date: Tue, 6 Mar 2007 08:46:36 +0900 (JST) From: Tsurutani Naoki To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/109956: fix objformat problem about multimedia/libdvdplay. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Tsurutani Naoki List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 00:10:07 -0000 >Number: 109956 >Category: ports >Synopsis: fix objformat problem about multimedia/libdvdplay. >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 06 00:10:06 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Tsurutani Naoki >Release: FreeBSD 7.0-CURRENT i386 >Organization: >Environment: System: FreeBSD 231124.173202.kyoto-inetbb.jp 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Sun Mar 4 23:41:07 JST 2007 turutani@polymer12.localnet.priv:/usr/local/work/usr/obj/usr/src/sys/POLYMER5 i386 >Description: fix objformat problem of multimedia/libdvdplay on current host. take another simple way instead if necssary. >How-To-Repeat: >Fix: --- configure.orig Tue Mar 11 02:55:45 2003 +++ configure Mon Mar 5 13:17:20 2007 @@ -6202,8 +6202,29 @@ dynamic_linker='GNU/FreeBSD ld.so' ;; -freebsd*) - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` +kfreebsd*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. + if test -x /usr/bin/objformat; then + objformat=`/usr/bin/objformat` + else + case $host_os in + freebsd[[123]]*) objformat=aout ;; + *) objformat=elf ;; + esac + fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) @@ -6221,9 +6242,18 @@ freebsd2*) shlibpath_overrides_runpath=yes ;; - *) - shlibpath_overrides_runpath=no + freebsd3.[[01]]* | freebsdelf3.[[01]]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ + freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) + shlibpath_overrides_runpath=no hardcode_into_libs=yes + ;; + freebsd*) # from 4.6 on + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes ;; esac ;; --- aclocal.m4.orig Tue Mar 11 02:55:35 2003 +++ aclocal.m4 Mon Mar 5 13:01:54 2007 @@ -2847,8 +2847,29 @@ dynamic_linker='GNU/FreeBSD ld.so' ;; -freebsd*) - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` +kfreebsd*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. + if test -x /usr/bin/objformat; then + objformat=`/usr/bin/objformat` + else + case $host_os in + freebsd[[123]]*) objformat=aout ;; + *) objformat=elf ;; + esac + fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) @@ -2866,8 +2887,17 @@ freebsd2*) shlibpath_overrides_runpath=yes ;; - *) + freebsd3.[[01]]* | freebsdelf3.[[01]]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ + freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + freebsd*) # from 4.6 on + shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac >Release-Note: >Audit-Trail: >Unformatted: