mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
net-libs/libgssglue: Fix no-symlink-lib bug
Closes: https://bugs.gentoo.org/646126 Signed-off-by: Pacho Ramos <pacho@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
* g_initialize.c:275:5: warning: implicit declaration of function 'getuid' [-Wimplicit-function-declaration]
|
||||
* g_initialize.c:275:5: warning: implicit declaration of function 'geteuid' [-Wimplicit-function-declaration]
|
||||
|
||||
--- src/g_initialize.c
|
||||
+++ src/g_initialize.c
|
||||
--- a/src/g_initialize.c
|
||||
+++ b/src/g_initialize.c
|
||||
@@ -29,6 +29,9 @@
|
||||
#include "mglueP.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
39
net-libs/libgssglue/libgssglue-0.4-r1.ebuild
Normal file
39
net-libs/libgssglue/libgssglue-0.4-r1.ebuild
Normal file
@@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Exports a gssapi interface which calls other random gssapi libraries"
|
||||
HOMEPAGE="http://www.citi.umich.edu/projects/nfsv4/linux/"
|
||||
SRC_URI="http://www.citi.umich.edu/projects/nfsv4/linux/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!app-crypt/libgssapi"
|
||||
DEPEND=""
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.3-protos.patch
|
||||
"${FILESDIR}"/${PN}-0.4-implicit-declarations.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "s,/lib/,/$(get_libdir)/," doc/gssapi_mech.conf #646126
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# No need to install static libraries, as it uses libdl
|
||||
econf --disable-static
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
insinto /etc
|
||||
doins doc/gssapi_mech.conf
|
||||
}
|
||||
Reference in New Issue
Block a user