summaryrefslogtreecommitdiff
path: root/www/netscape4-communicator/pkg-req.aout
diff options
context:
space:
mode:
Diffstat (limited to 'www/netscape4-communicator/pkg-req.aout')
-rw-r--r--www/netscape4-communicator/pkg-req.aout30
1 files changed, 30 insertions, 0 deletions
diff --git a/www/netscape4-communicator/pkg-req.aout b/www/netscape4-communicator/pkg-req.aout
new file mode 100644
index 000000000000..2e5ef56fe552
--- /dev/null
+++ b/www/netscape4-communicator/pkg-req.aout
@@ -0,0 +1,30 @@
+#!/bin/sh
+env=/usr/bin/env
+fgrep=/usr/bin/fgrep
+ldconfig=/sbin/ldconfig
+ld_so=/usr/libexec/ld.so
+if [ x$2 = xINSTALL ]; then
+ $env OBJFORMAT=aout $ldconfig -r | $fgrep -q -e '-lc.3'
+ if [ $? -ne 0 -o ! -x $ld_so ]; then
+ cat <<END
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
++ There are no aout libs on this machine. +
++ 1. Install compat22 distribution, +
++ 2. restart your system, +
++ 3. then retry "make install" this port +
++ or "pkg_add" this package. +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
+END
+ exit 1
+ fi
+ $env OBJFORMAT=aout $ldconfig -r | $fgrep -q -e '-lX11.6'
+ if [ $? -ne 0 ]; then
+ cat <<END
++++++++++++++++++++++++++++++++++++++++++++++
++ There are no X aout libs on this machine. +
++++++++++++++++++++++++++++++++++++++++++++++
+END
+ exit 1
+ fi
+fi
+exit 0;