aboutsummaryrefslogtreecommitdiffstats
path: root/www/linux-mozillafirebird
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-04-11 14:38:45 +0800
committerknu <knu@FreeBSD.org>2003-04-11 14:38:45 +0800
commita62af6c2c58641f31c12f19845e991ada5d25684 (patch)
treeab7435800fccd83777ebeeb47bad6b87df75c5ff /www/linux-mozillafirebird
parentd7321ae95168e0d2e0cb2eebb7de0c7caf20679e (diff)
downloadfreebsd-ports-graphics-a62af6c2c58641f31c12f19845e991ada5d25684.tar.gz
freebsd-ports-graphics-a62af6c2c58641f31c12f19845e991ada5d25684.tar.zst
freebsd-ports-graphics-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.
Diffstat (limited to 'www/linux-mozillafirebird')
-rw-r--r--www/linux-mozillafirebird/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/www/linux-mozillafirebird/Makefile b/www/linux-mozillafirebird/Makefile
index 23dc5574e60..250b5046a61 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}