summaryrefslogtreecommitdiffstats
path: root/x11/XFree86-aoutlibs
diff options
context:
space:
mode:
authorsada <sada@FreeBSD.org>2000-03-11 17:52:08 +0000
committersada <sada@FreeBSD.org>2000-03-11 17:52:08 +0000
commit5472152aef16694bacbf2541fbd160828f3621c0 (patch)
tree1b1f5c6206a50dd8fbdc1b269a7f353c8dd5be60 /x11/XFree86-aoutlibs
parent5ba557d1ab4e8c64cbd406d09f19e526ff20b081 (diff)
downloadFreeBSD-ports-5472152aef16694bacbf2541fbd160828f3621c0.zip
FreeBSD-ports-5472152aef16694bacbf2541fbd160828f3621c0.tar.gz
Enable warning message with compat22 libs for package users.
Maintainer admitted this on ports-ML. (message-id: <20000309102434.P54218@shale.csir.co.za>) # Sorry Jeremy, the tree would be frozen soon.
Diffstat (limited to 'x11/XFree86-aoutlibs')
-rw-r--r--x11/XFree86-aoutlibs/Makefile2
-rw-r--r--x11/XFree86-aoutlibs/pkg-req5
2 files changed, 4 insertions, 3 deletions
diff --git a/x11/XFree86-aoutlibs/Makefile b/x11/XFree86-aoutlibs/Makefile
index 9c3958e..ff3e2b0 100644
--- a/x11/XFree86-aoutlibs/Makefile
+++ b/x11/XFree86-aoutlibs/Makefile
@@ -23,7 +23,7 @@ PORTOBJFORMAT= aout
USE_X_PREFIX= yes
pre-configure:
- @${SETENV} ${SCRIPTS_ENV} ARCH=${ARCH} ${SH} \
+ @${SETENV} ${SCRIPTS_ENV} ${SH} \
${PKGDIR}/REQ ${PKGNAME} INSTALL
do-install:
diff --git a/x11/XFree86-aoutlibs/pkg-req b/x11/XFree86-aoutlibs/pkg-req
index a337c2f..aabd9bc 100644
--- a/x11/XFree86-aoutlibs/pkg-req
+++ b/x11/XFree86-aoutlibs/pkg-req
@@ -2,9 +2,10 @@
env=/usr/bin/env
fgrep=/usr/bin/fgrep
ldconfig=/sbin/ldconfig
-if [ x$2 = xINSTALL -a x$ARCH = xi386 ]; then
+ld_so=/usr/libexec/ld.so
+if [ x$2 = xINSTALL ]; then
$env OBJFORMAT=aout $ldconfig -r | $fgrep -q -e '-lc.3'
- if [ $? -ne 0 ]; then
+ if [ $? -ne 0 -o ! -x $ld_so ]; then
cat <<END
*********************************************************************
OpenPOWER on IntegriCloud