Add back recreation of libgcc_s.so links removed in r433943. The existing
links don't work in all cases. Reported by: avos
This commit is contained in:
parent
07638b2615
commit
08a2be02c6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=433988
1 changed files with 16 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue