Install 32-bit libraries for powerpc64 if built.
Approved by: gerald@
This commit is contained in:
parent
5f9a3c9f23
commit
3ef2bed0e9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=488676
1 changed files with 8 additions and 1 deletions
|
@ -72,6 +72,7 @@ CONFIGURE_ARGS+= --with-cpu=8540 --enable-e500_double --without-fp
|
|||
|
||||
LANGUAGES:= c,c++,objc,fortran
|
||||
TARGLIB= ${PREFIX}/lib/gcc${SUFFIX}
|
||||
TARGLIB32= ${PREFIX}/lib32 # The version information is added later
|
||||
LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX}
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_OUTSOURCE= yes
|
||||
|
@ -141,7 +142,13 @@ post-stage:
|
|||
${RM} -r ${STAGEDIR}${TARGLIB}/gcc/*/${GCC_VERSION}/include-fixed/
|
||||
# Add target libraries and include files to packaging list.
|
||||
${RM} ${WRKDIR}/PLIST.lib
|
||||
.for d in ${TARGLIB:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///}
|
||||
|
||||
.if ${ARCH} == powerpc64 && ${PORT_OPTIONS:MMULTILIB}
|
||||
${MKDIR} ${STAGEDIR}${TARGLIB32}/gcc${SUFFIX}
|
||||
${MV} ${STAGEDIR}${PREFIX}/lib/lib32/* ${STAGEDIR}${TARGLIB32}/gcc${SUFFIX}
|
||||
.endif
|
||||
|
||||
.for d in ${TARGLIB:S/^${PREFIX}\///} ${TARGLIB32:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///}
|
||||
cd ${STAGEDIR}${PREFIX} ; if [ -d $d ]; then \
|
||||
${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue