diff options
author | sada <sada@FreeBSD.org> | 2000-03-12 01:52:08 +0800 |
---|---|---|
committer | sada <sada@FreeBSD.org> | 2000-03-12 01:52:08 +0800 |
commit | 5472152aef16694bacbf2541fbd160828f3621c0 (patch) | |
tree | 1b1f5c6206a50dd8fbdc1b269a7f353c8dd5be60 /x11/XFree86-aoutlibs | |
parent | 5ba557d1ab4e8c64cbd406d09f19e526ff20b081 (diff) | |
download | freebsd-ports-gnome-5472152aef16694bacbf2541fbd160828f3621c0.tar.gz freebsd-ports-gnome-5472152aef16694bacbf2541fbd160828f3621c0.tar.zst freebsd-ports-gnome-5472152aef16694bacbf2541fbd160828f3621c0.zip |
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/Makefile | 2 | ||||
-rw-r--r-- | x11/XFree86-aoutlibs/pkg-req | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/x11/XFree86-aoutlibs/Makefile b/x11/XFree86-aoutlibs/Makefile index 9c3958efb925..ff3e2b05721f 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 a337c2fc9e53..aabd9bc76fbe 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 ********************************************************************* |