sci-physics/cernlib: remove dpkg-architecture directories.
authorBenda Xu <heroxbd@gentoo.org>
Sun, 28 May 2017 00:40:31 +0000 (09:40 +0900)
committerBenda Xu <heroxbd@gentoo.org>
Sun, 28 May 2017 00:41:15 +0000 (09:41 +0900)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

sci-physics/cernlib/cernlib-2006-r6.ebuild

index 6ce9e60ad69cb376e2f45d354732f5ea6deb36cb..abdee87922762c498da1f7c57db52c1861e0c0a6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -48,6 +48,7 @@ src_prepare() {
                -e "s:\$DEPS -llapack -lm:$($(tc-getPKG_CONFIG) --libs lapack):" \
                -e 's:`depend $d $a blas`::' \
                -e 's:X11R6:X11:g' \
+               -e 's: /[^ ]*`dpkg-arch.*`::' \
                debian/add-ons/bin/cernlib.in || die "sed failed"
 
        cp debian/add-ons/Makefile .