diff options
author | knu <knu@FreeBSD.org> | 2003-04-11 14:38:45 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2003-04-11 14:38:45 +0800 |
commit | a62af6c2c58641f31c12f19845e991ada5d25684 (patch) | |
tree | ab7435800fccd83777ebeeb47bad6b87df75c5ff | |
parent | d7321ae95168e0d2e0cb2eebb7de0c7caf20679e (diff) | |
download | freebsd-ports-gnome-a62af6c2c58641f31c12f19845e991ada5d25684.tar.gz freebsd-ports-gnome-a62af6c2c58641f31c12f19845e991ada5d25684.tar.zst freebsd-ports-gnome-a62af6c2c58641f31c12f19845e991ada5d25684.zip |
Create a symlink libstdc++-libc6.1-1.so.2 -> libstdc++-libc6.2-2.so.3
so this binary actually dynamically links and works.
-rw-r--r-- | www/linux-firefox/Makefile | 11 | ||||
-rw-r--r-- | www/linux-mozillafirebird/Makefile | 11 | ||||
-rw-r--r-- | www/linux-phoenix/Makefile | 11 |
3 files changed, 30 insertions, 3 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} diff --git a/www/linux-mozillafirebird/Makefile b/www/linux-mozillafirebird/Makefile index 23dc5574e601..250b5046a61a 100644 --- a/www/linux-mozillafirebird/Makefile +++ b/www/linux-mozillafirebird/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} diff --git a/www/linux-phoenix/Makefile b/www/linux-phoenix/Makefile index 23dc5574e601..250b5046a61a 100644 --- a/www/linux-phoenix/Makefile +++ b/www/linux-phoenix/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} |