diff options
author | sbd <sbd> | 2012-04-23 08:44:00 +0000 |
---|---|---|
committer | sbd <sbd> | 2012-04-23 08:44:00 +0000 |
commit | 1f1e6cb6403ab1340509eac8b8a32d40c4a4cd66 (patch) | |
tree | 1562256db831767ef92f30bf68154dbd1c57f493 /mk/buildlink3 | |
parent | 64713639b703d911c48e262d6b39d7cfc5c03a48 (diff) | |
download | pkgsrc-1f1e6cb6403ab1340509eac8b8a32d40c4a4cd66.tar.gz |
Add '/lib${LIBABISUFFIX}' to the search path.
Also add a note
# XXX: Why are we looking in '/usr/lib${ABI}' and '/lib${ABI}', as we should
# XXX: only be looking in '/usr/lib${LIBABISUFFIX}' and '/lib${LIBABISUFFIX}'
Diffstat (limited to 'mk/buildlink3')
-rw-r--r-- | mk/buildlink3/find-libs.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/buildlink3/find-libs.mk b/mk/buildlink3/find-libs.mk index 8a73ee1d4d9..b17a8bc0c78 100644 --- a/mk/buildlink3/find-libs.mk +++ b/mk/buildlink3/find-libs.mk @@ -1,4 +1,4 @@ -# $NetBSD: find-libs.mk,v 1.9 2010/08/21 05:07:51 obache Exp $ +# $NetBSD: find-libs.mk,v 1.10 2012/04/23 08:44:00 sbd Exp $ # # Copyright (c) 2005 The NetBSD Foundation, Inc. # All rights reserved. @@ -74,6 +74,8 @@ BUILTIN_LIB_FOUND.${_lib_}!= \ . endif . endfor . else +# XXX: Why are we looking in '/usr/lib${ABI}' and '/lib${ABI}', as we should +# XXX: only be looking in '/usr/lib${LIBABISUFFIX}' and '/lib${LIBABISUFFIX}' BUILTIN_LIB_FOUND.${_lib_}!= \ if ${TEST} "`${ECHO} /usr/lib${ABI}/lib${_lib_}.*`" != "/usr/lib${ABI}/lib${_lib_}.*"; then \ ${ECHO} yes; \ @@ -81,6 +83,8 @@ BUILTIN_LIB_FOUND.${_lib_}!= \ ${ECHO} yes; \ elif ${TEST} "`${ECHO} /usr/lib${LIBABISUFFIX}/lib${_lib_}.*`" != "/usr/lib${LIBABISUFFIX}/lib${_lib_}.*"; then \ ${ECHO} yes; \ + elif ${TEST} "`${ECHO} /lib${LIBABISUFFIX}/lib${_lib_}.*`" != "/lib${LIBABISUFFIX}/lib${_lib_}.*"; then \ + ${ECHO} yes; \ else \ ${ECHO} no; \ fi |