[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/66: gnu: gcj: Remove broken symlink and conflicting files.
From: |
Manolis Fragkiskos Ragkousis |
Subject: |
04/66: gnu: gcj: Remove broken symlink and conflicting files. |
Date: |
Thu, 21 May 2015 12:51:47 +0000 |
phant0mas pushed a commit to branch wip-hurd
in repository guix.
commit 4545b4c1fd2527a4bf70fa6af9f8c9eaa1efbfba
Author: Ricardo Wurmus <address@hidden>
Date: Thu Apr 30 17:11:39 2015 +0200
gnu: gcj: Remove broken symlink and conflicting files.
* gnu/packages/gcc.scm (gcj)[arguments]: Add a build phase to remove a
broken
symlink and generic stump binaries.
---
gnu/packages/gcc.scm | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index c368b7d..957917b 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -444,7 +444,18 @@ Go. It also includes runtime support libraries for these
languages.")
(string-append jvm "/lib/tools.jar")))
(chmod target #o755)
#t))
- ,phases))))))
+ (alist-cons-after
+ 'install 'remove-broken-or-conflicting-files
+ (lambda _
+ (let ((out (assoc-ref %outputs "out")))
+ (for-each
+ delete-file
+ (append (find-files (string-append out "/lib/jvm/jre/lib")
+ "libjawt.so")
+ (find-files (string-append out "/bin")
+ ".*(c\\+\\+|cpp|g\\+\\+|gcc.*)"))))
+ #t)
+ ,phases)))))))
(define ecj-bootstrap-4.8
(origin
- branch wip-hurd created (now c981345), Manolis Fragkiskos Ragkousis, 2015/05/21
- 04/66: gnu: gcj: Remove broken symlink and conflicting files.,
Manolis Fragkiskos Ragkousis <=
- 06/66: build-system/gnu: 'dist-package' preserves the package's native inputs., Manolis Fragkiskos Ragkousis, 2015/05/21
- 05/66: build-system/gnu: Adjust to removal of a "bin" output for Libtool., Manolis Fragkiskos Ragkousis, 2015/05/21
- 09/66: install: Add bash-completion to the packages., Manolis Fragkiskos Ragkousis, 2015/05/21
- 02/66: gnu: ebook: Drop circular inclusion of the module into itself., Manolis Fragkiskos Ragkousis, 2015/05/21
- 12/66: gnu: cppunit: Explicitly link with libdl., Manolis Fragkiskos Ragkousis, 2015/05/21
- 10/66: guix: packages: Add package-direct-sources and package-transitive-sources., Manolis Fragkiskos Ragkousis, 2015/05/21
- 13/66: gnu: Add librevenge., Manolis Fragkiskos Ragkousis, 2015/05/21
- 15/66: gnu: dejagnu: Update to 1.5.3., Manolis Fragkiskos Ragkousis, 2015/05/21
- 08/66: profiles: Store search paths in manifests., Manolis Fragkiskos Ragkousis, 2015/05/21
- 16/66: gnu: help2man: Update to 1.46.6., Manolis Fragkiskos Ragkousis, 2015/05/21