1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Create a symlink libstdc++-libc6.1-1.so.2 -> libstdc++-libc6.2-2.so.3

so this binary actually dynamically links and works.
This commit is contained in:
Akinori MUSHA 2003-04-11 06:38:45 +00:00
parent 98a074ba5b
commit 95b578c9a9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=78726
3 changed files with 30 additions and 3 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= phoenix
PORTVERSION= 0.5
PORTREVISION= 1
CATEGORIES= www linux
MASTER_SITES= ${MASTER_SITE_MOZILLA}
MASTER_SITE_SUBDIR= phoenix/releases/${PORTVERSION}
@ -61,11 +62,19 @@ do-install:
${CHMOD} 755 ${PREFIX}/lib/linux-phoenix
cd ${WRKSRC} && ${FIND} * | \
cpio -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/linux-phoenix
${LN} -s ${PREFIX}/lib/linux-phoenix/phoenix \
${LN} -sf ${PREFIX}/lib/linux-phoenix/phoenix \
${PREFIX}/bin/linux-phoenix
${INSTALL_SCRIPT} ${WRKDIR}/linkfarm ${PREFIX}/lib/linux-phoenix
NEW_LIBSTDCXX= ${LINUXBASE}/usr/lib/libstdc++-libc6.2-2.so.3
OLD_LIBSTDCXX= libstdc++-libc6.1-1.so.2
post-install:
if [ ! -f ${NEW_LIBSTDCXX} ]; then \
${LN} -s ${OLD_LIBSTDCXX} ${NEW_LIBSTDCXX}; \
fi
${ECHO_CMD} "@exec if [ ! -f ${NEW_LIBSTDCXX} ]; then ${LN} -s ${OLD_LIBSTDCXX} ${NEW_LIBSTDCXX}; fi" >> ${TMPPLIST}
${ECHO_CMD} "@unexec if [ -L ${NEW_LIBSTDCXX} ]; then ${RM} -f ${NEW_LIBSTDCXX}; fi" >> ${TMPPLIST}
@${ECHO_CMD} \*\* After adding plugins to \(Linux\) Beonex,
@${ECHO_CMD} \*\* Mozilla or Netscape, run\
> ${PKGMESSAGE}

View File

@ -7,6 +7,7 @@
PORTNAME= phoenix
PORTVERSION= 0.5
PORTREVISION= 1
CATEGORIES= www linux
MASTER_SITES= ${MASTER_SITE_MOZILLA}
MASTER_SITE_SUBDIR= phoenix/releases/${PORTVERSION}
@ -61,11 +62,19 @@ do-install:
${CHMOD} 755 ${PREFIX}/lib/linux-phoenix
cd ${WRKSRC} && ${FIND} * | \
cpio -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/linux-phoenix
${LN} -s ${PREFIX}/lib/linux-phoenix/phoenix \
${LN} -sf ${PREFIX}/lib/linux-phoenix/phoenix \
${PREFIX}/bin/linux-phoenix
${INSTALL_SCRIPT} ${WRKDIR}/linkfarm ${PREFIX}/lib/linux-phoenix
NEW_LIBSTDCXX= ${LINUXBASE}/usr/lib/libstdc++-libc6.2-2.so.3
OLD_LIBSTDCXX= libstdc++-libc6.1-1.so.2
post-install:
if [ ! -f ${NEW_LIBSTDCXX} ]; then \
${LN} -s ${OLD_LIBSTDCXX} ${NEW_LIBSTDCXX}; \
fi
${ECHO_CMD} "@exec if [ ! -f ${NEW_LIBSTDCXX} ]; then ${LN} -s ${OLD_LIBSTDCXX} ${NEW_LIBSTDCXX}; fi" >> ${TMPPLIST}
${ECHO_CMD} "@unexec if [ -L ${NEW_LIBSTDCXX} ]; then ${RM} -f ${NEW_LIBSTDCXX}; fi" >> ${TMPPLIST}
@${ECHO_CMD} \*\* After adding plugins to \(Linux\) Beonex,
@${ECHO_CMD} \*\* Mozilla or Netscape, run\
> ${PKGMESSAGE}

View File

@ -7,6 +7,7 @@
PORTNAME= phoenix
PORTVERSION= 0.5
PORTREVISION= 1
CATEGORIES= www linux
MASTER_SITES= ${MASTER_SITE_MOZILLA}
MASTER_SITE_SUBDIR= phoenix/releases/${PORTVERSION}
@ -61,11 +62,19 @@ do-install:
${CHMOD} 755 ${PREFIX}/lib/linux-phoenix
cd ${WRKSRC} && ${FIND} * | \
cpio -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/linux-phoenix
${LN} -s ${PREFIX}/lib/linux-phoenix/phoenix \
${LN} -sf ${PREFIX}/lib/linux-phoenix/phoenix \
${PREFIX}/bin/linux-phoenix
${INSTALL_SCRIPT} ${WRKDIR}/linkfarm ${PREFIX}/lib/linux-phoenix
NEW_LIBSTDCXX= ${LINUXBASE}/usr/lib/libstdc++-libc6.2-2.so.3
OLD_LIBSTDCXX= libstdc++-libc6.1-1.so.2
post-install:
if [ ! -f ${NEW_LIBSTDCXX} ]; then \
${LN} -s ${OLD_LIBSTDCXX} ${NEW_LIBSTDCXX}; \
fi
${ECHO_CMD} "@exec if [ ! -f ${NEW_LIBSTDCXX} ]; then ${LN} -s ${OLD_LIBSTDCXX} ${NEW_LIBSTDCXX}; fi" >> ${TMPPLIST}
${ECHO_CMD} "@unexec if [ -L ${NEW_LIBSTDCXX} ]; then ${RM} -f ${NEW_LIBSTDCXX}; fi" >> ${TMPPLIST}
@${ECHO_CMD} \*\* After adding plugins to \(Linux\) Beonex,
@${ECHO_CMD} \*\* Mozilla or Netscape, run\
> ${PKGMESSAGE}