diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-01-03 19:17:21 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-01-03 19:17:21 +0000 |
commit | 81e4fbcb846ed1cabdad699c0029b166dd7273b7 (patch) | |
tree | 16f1236b7a386949c02a6e3c13d0fcd8298fa133 /profiles/releases/freebsd-11.0/profile.bashrc | |
parent | a70f42c65202d88c203c40910fef8f96f333d1ee (diff) |
gentoo resync : 03.01.2018
Diffstat (limited to 'profiles/releases/freebsd-11.0/profile.bashrc')
-rw-r--r-- | profiles/releases/freebsd-11.0/profile.bashrc | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/profiles/releases/freebsd-11.0/profile.bashrc b/profiles/releases/freebsd-11.0/profile.bashrc deleted file mode 100644 index 502446f59325..000000000000 --- a/profiles/releases/freebsd-11.0/profile.bashrc +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation. -# Distributed under the terms of the GNU General Public License, v2 - -bsd-fbsd10fix(){ - # http://svnweb.freebsd.org/ports/head/Mk/bsd.port.mk - - for f in `find ${WORKDIR} -type f \( -name config.libpath -o \ - -name config.rpath -o -name configure -o -name libtool.m4 -o \ - -name ltconfig -o -name libtool -o -name aclocal.m4 -o \ - -name acinclude.m4 \)` ; do \ - sed -i.fbsd10bak \ - -e 's|freebsd1\*)|freebsd1.\*)|g' \ - -e 's|freebsd\[12\]\*)|freebsd[12].*)|g' \ - -e 's|freebsd\[123\]\*)|freebsd[123].*)|g' \ - -e 's|freebsd\[\[12\]\]\*)|freebsd[[12]].*)|g' \ - -e 's|freebsd\[\[123\]\]\*)|freebsd[[123]].*)|g' \ - ${f} ; \ - touch -mr ${f}.fbsd10bak ${f} ; \ - rm -f ${f}.fbsd10bak ; \ - einfo "===> FreeBSD 10 autotools fix applied to ${f}"; \ - done -} - -if [[ -n $EAPI ]] ; then - case "$EAPI" in - 0|1) - post_src_unpack() { bsd-patch_install-sh ; bsd-fbsd10fix ; } - ;; - *) - post_src_prepare() { bsd-patch_install-sh ; bsd-fbsd10fix ; } - ;; - esac -fi |