From owner-svn-ports-all@freebsd.org Mon Feb 13 13:27:20 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BEE40CDBD98; Mon, 13 Feb 2017 13:27:20 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8B9941E9D; Mon, 13 Feb 2017 13:27:20 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v1DDRJ3n057301; Mon, 13 Feb 2017 13:27:19 GMT (envelope-from tijl@FreeBSD.org) Received: (from tijl@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v1DDRJjn057300; Mon, 13 Feb 2017 13:27:19 GMT (envelope-from tijl@FreeBSD.org) Message-Id: <201702131327.v1DDRJjn057300@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tijl set sender to tijl@FreeBSD.org using -f From: Tijl Coosemans Date: Mon, 13 Feb 2017 13:27:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r433989 - head/devel/linux-c7-devtools X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Feb 2017 13:27:20 -0000 Author: tijl Date: Mon Feb 13 13:27:19 2017 New Revision: 433989 URL: https://svnweb.freebsd.org/changeset/ports/433989 Log: Add back recreation of libgcc_s.so links removed in r433941. The existing links don't work in all cases. Reported by: avos Modified: head/devel/linux-c7-devtools/Makefile Modified: head/devel/linux-c7-devtools/Makefile ============================================================================== --- head/devel/linux-c7-devtools/Makefile Mon Feb 13 13:19:19 2017 (r433988) +++ head/devel/linux-c7-devtools/Makefile Mon Feb 13 13:27:19 2017 (r433989) @@ -3,7 +3,7 @@ PORTNAME= devtools PORTVERSION= ${LINUX_DIST_VER} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel BIN_DISTNAMES= binutils-2.25.1-22.base.el7 \ glibc-headers-2.17-157.el7_3.1 \ @@ -46,7 +46,19 @@ USE_LINUX_RPM= yes OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes +.include + post-install: ${LN} -sf ld.bfd ${STAGEDIR}${PREFIX}/usr/bin/ld +.if ${LINUX_ARCH} == x86_64 + ${LN} -sfh ../../../../lib64/libgcc_s.so.1 \ + ${STAGEDIR}${PREFIX}/usr/lib/gcc/x86_64-redhat-linux/4.8.2/libgcc_s.so + + ${LN} -sfh ../../../../libgcc_s.so.1 \ + ${STAGEDIR}${PREFIX}/usr/lib/gcc/x86_64-redhat-linux/4.8.2/32/libgcc_s.so +.else + ${LN} -sfh ../../../libgcc_s.so.1 \ + ${STAGEDIR}${PREFIX}/usr/lib/gcc/i686-redhat-linux/4.8.2/libgcc_s.so +.endif -.include +.include