summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2010-12-10 18:00:27 +0000
committerFabian Groffen <grobian@gentoo.org>2010-12-10 18:00:27 +0000
commitd65a3e7214f860c69fffebe061d9c9e09079133d (patch)
tree243281d67fa7c1e33ce6e2991c5f34517a14f15c /app-misc/realpath
parentmedia-libs/freeverb3: Apply SSE1v2 patch by upstream (diff)
downloadgentoo-2-d65a3e7214f860c69fffebe061d9c9e09079133d.tar.gz
gentoo-2-d65a3e7214f860c69fffebe061d9c9e09079133d.tar.bz2
gentoo-2-d65a3e7214f860c69fffebe061d9c9e09079133d.zip
pick up LIBS from the environment, such that we can actually link on non-GNU libc platforms, bug #347291
(Portage version: 2.2.01.17304-prefix/cvs/Darwin powerpc)
Diffstat (limited to 'app-misc/realpath')
-rw-r--r--app-misc/realpath/ChangeLog7
-rw-r--r--app-misc/realpath/files/realpath-1.15-build.patch3
2 files changed, 8 insertions, 2 deletions
diff --git a/app-misc/realpath/ChangeLog b/app-misc/realpath/ChangeLog
index 8f8454551b87..74cd72f97e85 100644
--- a/app-misc/realpath/ChangeLog
+++ b/app-misc/realpath/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/realpath
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/realpath/ChangeLog,v 1.12 2010/11/28 18:23:29 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/realpath/ChangeLog,v 1.13 2010/12/10 18:00:26 grobian Exp $
+
+ 10 Dec 2010; Fabian Groffen <grobian@gentoo.org>
+ files/realpath-1.15-build.patch:
+ pick up LIBS from the environment, such that we can actually link on
+ non-GNU libc platforms, bug #347291
28 Nov 2010; Justin Lecher <jlec@gentoo.org> files/realpath-1.15-build.patch,
files/realpath-1.15-prefix.patch:
diff --git a/app-misc/realpath/files/realpath-1.15-build.patch b/app-misc/realpath/files/realpath-1.15-build.patch
index 7f7d586f5736..7b90a0c0c27b 100644
--- a/app-misc/realpath/files/realpath-1.15-build.patch
+++ b/app-misc/realpath/files/realpath-1.15-build.patch
@@ -9,10 +9,11 @@ index 18f539c..142f7e6 100644
-CC := gcc
-CFLAGS = -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Werror -g -DVERSION='"$(VERSION)"' -DPACKAGE='"$(PACKAGE)"' -DLOCALEDIR='"$(nlsdir)"'
-LDFLAGS :=
+-LIBS :=
+CC ?= gcc
+CFLAGS += -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -DVERSION='"$(VERSION)"' -DPACKAGE='"$(PACKAGE)"' -DLOCALEDIR='"$(nlsdir)"'
+LDFLAGS +=
- LIBS :=
++LIBS +=
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0