Remove post-install libgcc_s.so links. The existing links are fine.

This commit is contained in:
Tijl Coosemans 2017-02-12 13:50:29 +00:00
parent b6a59e77d1
commit a5d77cef32
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=433943

View File

@ -3,7 +3,7 @@
PORTNAME= devtools
PORTVERSION= ${LINUX_DIST_VER}
PORTREVISION= 7
PORTREVISION= 8
CATEGORIES= devel
BIN_DISTNAMES= binutils-2.20.51.0.2-5.44.el6 \
glibc-headers-2.12-1.192.el6 \
@ -36,18 +36,4 @@ USE_LINUX_RPM= yes
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
.include <bsd.port.pre.mk>
post-install:
.if ${LINUX_ARCH} == x86_64
${LN} -sf ${LINUXBASE}/lib64/libgcc_s.so.1 \
${STAGEDIR}${PREFIX}/usr/lib/gcc/x86_64-redhat-linux/4.4.4/libgcc_s.so
${LN} -sf ${LINUXBASE}/lib/libgcc_s.so.1 \
${STAGEDIR}${PREFIX}/usr/lib/gcc/x86_64-redhat-linux/4.4.4/32/libgcc_s.so
.else
${LN} -sf ${LINUXBASE}/lib/libgcc_s.so.1 \
${STAGEDIR}${PREFIX}/usr/lib/gcc/i686-redhat-linux/4.4.4/libgcc_s.so
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>