diff options
author | 1998-08-21 06:57:19 +0000 | |
---|---|---|
committer | 1998-08-21 06:57:19 +0000 | |
commit | 335d6aaa004e0980169175a1f5eabbbc0af18476 (patch) | |
tree | 58048175e980f0946deea5f981371dbd22598143 | |
parent | oops (diff) | |
download | wireguard-openbsd-335d6aaa004e0980169175a1f5eabbbc0af18476.tar.xz wireguard-openbsd-335d6aaa004e0980169175a1f5eabbbc0af18476.zip |
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
-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"; \ |