summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-01-01 22:27:39 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-01-01 22:27:39 +0000
commitb45c02c665ee79857d916b5ef51c3ebf5db40c91 (patch)
treebf192365c5b9ba38226cf76814b2b487dcf81684 /www-servers/publicfile
parentmarked x86 per bug 449546 (diff)
downloadgentoo-2-b45c02c665ee79857d916b5ef51c3ebf5db40c91.tar.gz
gentoo-2-b45c02c665ee79857d916b5ef51c3ebf5db40c91.tar.bz2
gentoo-2-b45c02c665ee79857d916b5ef51c3ebf5db40c91.zip
verbose build log wrt #430084 and respect AR/RANLIB
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'www-servers/publicfile')
-rw-r--r--www-servers/publicfile/ChangeLog6
-rw-r--r--www-servers/publicfile/files/publicfile-0.52-build.patch55
-rw-r--r--www-servers/publicfile/publicfile-0.52-r3.ebuild6
3 files changed, 65 insertions, 2 deletions
diff --git a/www-servers/publicfile/ChangeLog b/www-servers/publicfile/ChangeLog
index 1e94e2115708..d32617c79fcb 100644
--- a/www-servers/publicfile/ChangeLog
+++ b/www-servers/publicfile/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for www-servers/publicfile
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/publicfile/ChangeLog,v 1.25 2013/01/01 21:17:56 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/publicfile/ChangeLog,v 1.26 2013/01/01 22:27:39 hasufell Exp $
+
+ 01 Jan 2013; Julian Ospald <hasufell@gentoo.org> publicfile-0.52-r3.ebuild,
+ +files/publicfile-0.52-build.patch:
+ verbose build log wrt #430084 and respect AR/RANLIB
01 Jan 2013; Ulrich Müller <ulm@gentoo.org> publicfile-0.52-r3.ebuild:
Fix LICENSE, add mirror and bindist restrictions, bug 444424.
diff --git a/www-servers/publicfile/files/publicfile-0.52-build.patch b/www-servers/publicfile/files/publicfile-0.52-build.patch
new file mode 100644
index 000000000000..67fe1ffa6876
--- /dev/null
+++ b/www-servers/publicfile/files/publicfile-0.52-build.patch
@@ -0,0 +1,55 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Tue Jan 1 22:20:05 UTC 2013
+Subject: build system
+
+ make build output verbose
+ respext AR and RANLIB
+
+--- Makefile
++++ Makefile
+@@ -2,6 +2,9 @@
+
+ SHELL=/bin/sh
+
++AR ?= ar
++RANLIB ?= ranlib
++
+ default: it
+
+ alloc.a: \
+@@ -103,6 +106,7 @@
+ compile: \
+ warn-auto.sh conf-cc
+ ( cat warn-auto.sh; \
++ echo echo "`head -1 conf-cc`" '-c $${1+"$$@"}'; \
+ echo exec "`head -1 conf-cc`" '-c $${1+"$$@"}' \
+ ) > compile
+ chmod 755 compile
+@@ -306,6 +310,8 @@
+ warn-auto.sh conf-ld
+ ( cat warn-auto.sh; \
+ echo 'main="$$1"; shift'; \
++ echo echo "`head -1 conf-ld`" \
++ '-o "$$main" "$$main".o $${1+"$$@"}'; \
+ echo exec "`head -1 conf-ld`" \
+ '-o "$$main" "$$main".o $${1+"$$@"}' \
+ ) > load
+@@ -320,7 +326,8 @@
+ ( cat warn-auto.sh; \
+ echo 'main="$$1"; shift'; \
+ echo 'rm -f "$$main"'; \
+- echo 'ar cr "$$main" $${1+"$$@"}'; \
++ echo 'echo $(AR) cr "$$main" $${1+"$$@"}'; \
++ echo '$(AR) cr "$$main" $${1+"$$@"}'; \
+ case "`cat systype`" in \
+ sunos-5.*) ;; \
+ unix_sv*) ;; \
+@@ -329,7 +336,7 @@
+ dgux-*) ;; \
+ hp-ux-*) ;; \
+ sco*) ;; \
+- *) echo 'ranlib "$$main"' ;; \
++ *) echo 'echo $(RANLIB) "$$main"' ; echo '$(RANLIB) "$$main"' ;; \
+ esac \
+ ) > makelib
+ chmod 755 makelib
diff --git a/www-servers/publicfile/publicfile-0.52-r3.ebuild b/www-servers/publicfile/publicfile-0.52-r3.ebuild
index 22a8f9fb8162..d722a77b3098 100644
--- a/www-servers/publicfile/publicfile-0.52-r3.ebuild
+++ b/www-servers/publicfile/publicfile-0.52-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/publicfile/publicfile-0.52-r3.ebuild,v 1.9 2013/01/01 21:17:56 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/publicfile/publicfile-0.52-r3.ebuild,v 1.10 2013/01/01 22:27:39 hasufell Exp $
EAPI=4
@@ -24,6 +24,9 @@ RDEPEND="virtual/daemontools
!net-ftp/netkit-ftpd"
src_prepare() {
+ # verbose build log
+ epatch "${FILESDIR}"/${P}-build.patch
+
# filetypes in env using daemontools
use vanilla || epatch "${DISTDIR}"/${P}-filetype-diff
@@ -41,6 +44,7 @@ src_prepare() {
}
src_configure() {
+ tc-export AR RANLIB
echo "$(tc-getCC) ${CFLAGS}" > conf-cc
echo "$(tc-getCC) ${LDFLAGS}" > conf-ld
echo "/usr" > conf-home