diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2003-04-11 06:38:45 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2003-04-11 06:38:45 +0000 |
commit | 95b578c9a9f9282e58721542df80d9dbc5330848 (patch) | |
tree | d05c365ba0e7579e0fbb15e01e1fa135d825fbea /www/linux-firefox | |
parent | Update distinfo. FAQ changed. (diff) |
Create a symlink libstdc++-libc6.1-1.so.2 -> libstdc++-libc6.2-2.so.3
so this binary actually dynamically links and works.
Diffstat (limited to 'www/linux-firefox')
-rw-r--r-- | www/linux-firefox/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/www/linux-firefox/Makefile b/www/linux-firefox/Makefile index 23dc5574e601..250b5046a61a 100644 --- a/www/linux-firefox/Makefile +++ b/www/linux-firefox/Makefile @@ -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} |