summaryrefslogtreecommitdiff
path: root/mk/buildlink3
diff options
context:
space:
mode:
authorsbd <sbd@pkgsrc.org>2012-04-23 08:44:00 +0000
committersbd <sbd@pkgsrc.org>2012-04-23 08:44:00 +0000
commita6e7121fa5a159db8bfc82f5f32c8e461dfede22 (patch)
tree1562256db831767ef92f30bf68154dbd1c57f493 /mk/buildlink3
parenta703cf81261f28fc6b0ae53e8a683158a401ef89 (diff)
downloadpkgsrc-a6e7121fa5a159db8bfc82f5f32c8e461dfede22.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.mk6
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