Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 483156 - [10.0] profile.bashrc?: detect the CHOST="x86_64-gentoo-freebsd10.0" correctly in configure scripts etc.
Summary: [10.0] profile.bashrc?: detect the CHOST="x86_64-gentoo-freebsd10.0" correctl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Lowest normal (vote)
Assignee: Gentoo/BSD Team
URL: http://readlist.com/lists/freebsd.org...
Whiteboard:
Keywords:
Depends on:
Blocks: 488214
  Show dependency tree
 
Reported: 2013-08-31 13:51 UTC by Yuta SATOH
Modified: 2015-03-09 11:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
sample /etc/portage/bashrc (483156,869 bytes, patch)
2013-08-31 14:09 UTC, Yuta SATOH
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuta SATOH 2013-08-31 13:51:28 UTC
freebsd1*) code is included in configure have some packages.
This code is targeted for FreeBSD 1.x.
However, this regular expression to hit 10.0 as well.

Please see URL for more information.


can be reproduced easily.

e.g. dev-libs/expat)

/var/tmp/portage/dev-libs/expat-2.1.0-r3/work/expat-2.1.0/configure
    freebsd1*)
      ld_shlibs=no
      ;;


# CHOST="x86_64-gentoo-freebsd9.2" ebuild expat-2.1.0-r3.ebuild clean compile
# ls -1 /var/tmp/portage/dev-libs/expat-2.1.0-r3/work/expat-2.1.0-amd64_fbsd/.libs
libexpat.a
libexpat.la
libexpat.lai
libexpat.so
libexpat.so.1
libexpat.so.1.6.0


# CHOST="x86_64-gentoo-freebsd10.0" ebuild expat-2.1.0-r3.ebuild clean compile
# ls -1 /var/tmp/portage/dev-libs/expat-2.1.0-r3/work/expat-2.1.0-amd64_fbsd/.libs
libexpat.a
libexpat.la
libexpat.lai


so files are not created.
Comment 1 Yuta SATOH 2013-08-31 14:09:39 UTC
Created attachment 357514 [details, diff]
sample /etc/portage/bashrc

Taken from http://svnweb.freebsd.org/ports/head/Mk/bsd.port.mk

# CHOST="x86_64-gentoo-freebsd10.0" ebuild expat-2.1.0-r3.ebuild clean prepare
<snip>
>>> Source prepared.
 * ===>   FreeBSD 10 autotools fix applied to /var/tmp/portage/dev-libs/expat-2.1.0-r3/work/expat-2.1.0/m4/libtool.m4
 * ===>   FreeBSD 10 autotools fix applied to /var/tmp/portage/dev-libs/expat-2.1.0-r3/work/expat-2.1.0/aclocal.m4
 * ===>   FreeBSD 10 autotools fix applied to /var/tmp/portage/dev-libs/expat-2.1.0-r3/work/expat-2.1.0/configure

# nano -w /var/tmp/portage/dev-libs/expat-2.1.0-r3/work/expat-2.1.0/configure
    freebsd1.*)
      ld_shlibs=no
      ;;

# ls -1 /var/tmp/portage/dev-libs/expat-2.1.0-r3/work/expat-2.1.0-amd64_fbsd/.libs
libexpat.a
libexpat.la
libexpat.lai
libexpat.so
libexpat.so.1
libexpat.so.1.6.0
Comment 2 Yuta SATOH 2015-03-09 11:36:25 UTC
10.1 merged into the main tree.