mirror of
https://github.com/gryf/gryf-overlay.git
synced 2025-12-26 08:22:40 +01:00
Merge differences with Intruder portage overlay
This commit is contained in:
29
dev-libs/glib/files/glib-1.2.10-automake.patch
Normal file
29
dev-libs/glib/files/glib-1.2.10-automake.patch
Normal file
@@ -0,0 +1,29 @@
|
||||
fix errors with newer automake:
|
||||
|
||||
gmodule/Makefile.am:44: testgmodule_LDFLAGS must be set with `=' before using `+='
|
||||
|
||||
Makefile.am:73: BUILT_SOURCES multiply defined in condition TRUE ...
|
||||
Makefile.am:11: ... `BUILT_SOURCES' previously defined here
|
||||
|
||||
--- Makefile.am
|
||||
+++ Makefile.am
|
||||
@@ -70,7 +70,7 @@
|
||||
|
||||
CONFIGURE_DEPENDENCIES = acglib.m4
|
||||
|
||||
-BUILT_SOURCES = stamp-gc-h #note: not glibconfig.h
|
||||
+BUILT_SOURCES += stamp-gc-h #note: not glibconfig.h
|
||||
glibconfig.h: stamp-gc-h
|
||||
@:
|
||||
stamp-gc-h: config.status
|
||||
--- gmodule/Makefile.am
|
||||
+++ gmodule/Makefile.am
|
||||
@@ -41,7 +41,7 @@
|
||||
libgplugin_b_la_LIBADD = @G_MODULE_LIBS@ $(libglib)
|
||||
|
||||
noinst_PROGRAMS = testgmodule
|
||||
-testgmodule_LDFLAGS += @G_MODULE_LDFLAGS@
|
||||
+testgmodule_LDFLAGS = @G_MODULE_LDFLAGS@
|
||||
testgmodule_LDADD = libgmodule.la $(libglib) @G_MODULE_LIBS@
|
||||
|
||||
.PHONY: files release
|
||||
@@ -1,13 +1,14 @@
|
||||
# Copyright 1999-2006 Gentoo Foundation
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-1.2.10-r5.ebuild,v 1.48 2006/11/03 15:04:21 grobian Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-1.2.10-r5.ebuild,v 1.52 2007/06/27 15:28:52 vapier Exp $
|
||||
|
||||
inherit libtool flag-o-matic eutils portability
|
||||
inherit autotools libtool flag-o-matic eutils portability
|
||||
|
||||
DESCRIPTION="The GLib library of C routines"
|
||||
HOMEPAGE="http://www.gtk.org/"
|
||||
SRC_URI="ftp://ftp.gtk.org/pub/gtk/v1.2/${P}.tar.gz
|
||||
ftp://ftp.gnome.org/pub/GNOME/stable/sources/glib/${P}.tar.gz"
|
||||
ftp://ftp.gnome.org/pub/GNOME/stable/sources/glib/${P}.tar.gz
|
||||
mirror://gentoo/glib-1.2.10-r1-as-needed.patch.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="1"
|
||||
@@ -20,15 +21,22 @@ src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
epatch "${FILESDIR}"/${P}-automake.patch
|
||||
epatch "${FILESDIR}"/${P}-m4.patch
|
||||
epatch "${FILESDIR}"/${P}-configure-LANG.patch #133679
|
||||
|
||||
# Allow glib to build with gcc-3.4.x #47047
|
||||
epatch "${FILESDIR}"/${P}-gcc34-fix.patch
|
||||
|
||||
elibtoolize
|
||||
# Fix for -Wl,--as-needed (bug #133818)
|
||||
epatch "${DISTDIR}"/glib-1.2.10-r1-as-needed.patch.bz2
|
||||
|
||||
use ppc64 && use hardened && replace-flags -O[2-3] -O1
|
||||
append-ldflags $(dlopen_lib)
|
||||
|
||||
rm -f acinclude.m4 #168198
|
||||
eautoreconf
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
@@ -53,9 +61,5 @@ src_install() {
|
||||
dohtml -r docs
|
||||
|
||||
cd "${D}"/usr/$(get_libdir) || die
|
||||
if use ppc-macos ; then
|
||||
chmod 755 libgmodule-1.2.*.dylib
|
||||
else
|
||||
chmod 755 libgmodule-1.2.so.*
|
||||
fi
|
||||
chmod 755 libgmodule-1.2.so.*
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user