diff options
author | Marco S Hyman <marc@cvs.openbsd.org> | 1998-08-21 06:57:20 +0000 |
---|---|---|
committer | Marco S Hyman <marc@cvs.openbsd.org> | 1998-08-21 06:57:20 +0000 |
commit | 9f84d57c6364961e6da5ef1123c21de65d41378e (patch) | |
tree | c0da652a971a9e21b48b387d44781816954a5c43 /share | |
parent | e50d52367cf8c9ecc4e92587b3f1c69eb3ccc99e (diff) |
when checking for lib depends on the alpha (no shared libs)
check /usr/local/lib and /usr/X11R6/lib in addition to the standard place
Diffstat (limited to 'share')
-rw-r--r-- | share/mk/bsd.port.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/bsd.port.mk b/share/mk/bsd.port.mk index a07ec24925a..f438156080c 100644 --- a/share/mk/bsd.port.mk +++ b/share/mk/bsd.port.mk @@ -1,6 +1,6 @@ #-*- mode: Fundamental; tab-width: 4; -*- # ex:ts=4 -# $OpenBSD: bsd.port.mk,v 1.41 1998/08/08 06:14:58 marc Exp $ +# $OpenBSD: bsd.port.mk,v 1.42 1998/08/21 06:57:19 marc Exp $ # $NetBSD: $ # # bsd.port.mk - 940820 Jordan K. Hubbard. @@ -1700,7 +1700,7 @@ lib-depends: target=${DEPENDS_TARGET}; \ fi; \ tmp=`mktemp /tmp/bpmXXXXXXXXXX`; \ - if ${LD} -r -o $$tmp -l$$lib; then \ + if ${LD} -r -o $$tmp -L${LOCALBASE}/lib -L${X11BASE}/lib -l$$lib; then \ ${ECHO_MSG} "===> ${PKGNAME} depends on library: $$lib - found"; \ else \ ${ECHO_MSG} "===> ${PKGNAME} depends on library: $$lib - not found"; \ |