Date: Mon, 13 Feb 2017 13:19: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: r433988 - head/devel/linux-c6-devtools Message-ID: <201702131319.v1DDJJ7x053119@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tijl Date: Mon Feb 13 13:19:19 2017 New Revision: 433988 URL: https://svnweb.freebsd.org/changeset/ports/433988 Log: Add back recreation of libgcc_s.so links removed in r433943. The existing links don't work in all cases. Reported by: avos Modified: head/devel/linux-c6-devtools/Makefile Modified: head/devel/linux-c6-devtools/Makefile ============================================================================== --- head/devel/linux-c6-devtools/Makefile Mon Feb 13 13:03:15 2017 (r433987) +++ head/devel/linux-c6-devtools/Makefile Mon Feb 13 13:19:19 2017 (r433988) @@ -3,7 +3,7 @@ PORTNAME= devtools PORTVERSION= ${LINUX_DIST_VER} -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= devel BIN_DISTNAMES= binutils-2.20.51.0.2-5.44.el6 \ glibc-headers-2.12-1.192.el6 \ @@ -36,4 +36,18 @@ USE_LINUX_RPM= yes OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +post-install: +.if ${LINUX_ARCH} == x86_64 + ${LN} -sfh ../../../../lib64/libgcc_s.so.1 \ + ${STAGEDIR}${PREFIX}/usr/lib/gcc/x86_64-redhat-linux/4.4.4/libgcc_s.so + + ${LN} -sfh ../../../../libgcc_s.so.1 \ + ${STAGEDIR}${PREFIX}/usr/lib/gcc/x86_64-redhat-linux/4.4.4/32/libgcc_s.so +.else + ${LN} -sfh ../../../libgcc_s.so.1 \ + ${STAGEDIR}${PREFIX}/usr/lib/gcc/i686-redhat-linux/4.4.4/libgcc_s.so +.endif + +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702131319.v1DDJJ7x053119>