Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 2017 13:27:19 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r433989 - head/devel/linux-c7-devtools
Message-ID:  <201702131327.v1DDRJjn057300@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk>
+
 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 <bsd.port.mk>
+.include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702131327.v1DDRJjn057300>