Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 474734 Details for
Bug 617548
app-crypt/rhash: Won't build on Gentoo/FreeBSD due to differences in BSD make vs GNU make
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sample patch for rhash-1.3.4.ebuild
file_617548.txt (text/plain), 1.51 KB, created by
Yuta SATOH
on 2017-05-31 11:00:08 UTC
(
hide
)
Description:
sample patch for rhash-1.3.4.ebuild
Filename:
MIME Type:
Creator:
Yuta SATOH
Created:
2017-05-31 11:00:08 UTC
Size:
1.51 KB
patch
obsolete
>diff --git a/rhash-1.3.4.ebuild b/rhash-1.3.4.ebuild >index 2be1edd..5051ead 100644 >--- a/rhash-1.3.4.ebuild >+++ b/rhash-1.3.4.ebuild >@@ -12,12 +12,13 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" > LICENSE="MIT" > SLOT="0" > KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc64 ~x86 ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" >-IUSE="debug nls openssl static-libs" >+IUSE="debug elibc_FreeBSD nls openssl static-libs" > > RDEPEND="openssl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )" > > DEPEND="${RDEPEND} >- nls? ( sys-devel/gettext )" >+ nls? ( sys-devel/gettext ) >+ elibc_FreeBSD? ( sys-apps/coreutils )" > > src_prepare() { > default >@@ -28,6 +29,12 @@ src_prepare() { > # Install /etc stuff inside the Prefix > sed -i -e 's:\$(DESTDIR)/etc:\$(DESTDIR)/$(SYSCONFDIR):g' Makefile || die > >+ # We should use GNU commands on Gentoo/FreeBSD, bug 617548. >+ if use elibc_FreeBSD ; then >+ sed -i 's:INSTALL = install:INSTALL = ginstall:' Makefile || die >+ sed -i 's:+make:+emake:g' Makefile || die >+ fi >+ > if [[ ${CHOST} == *-darwin* ]] ; then > local ver_script='-Wl,--version-script,exports.sym,-soname,$(SONAME)' > local install_name='-install_name $(LIBDIR)/$(SONAME)' >@@ -58,7 +65,7 @@ multilib_src_compile() { > $(use openssl && echo -ldl) > ) > >- [[ ${CHOST} == *-darwin* || ${CHOST} == *-solaris* ]] \ >+ [[ ${CHOST} == *-freebsd* || ${CHOST} == *-darwin* || ${CHOST} == *-solaris* ]] \ > && ADDLDFLAGS+=( $(use nls && echo -lintl) ) > > emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 617548
: 474734 |
475164
|
475166