diff options
author | jperkin <jperkin@pkgsrc.org> | 2014-03-07 15:15:17 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2014-03-07 15:15:17 +0000 |
commit | 116200b7a1276518672f23a912a6d7b808bbd222 (patch) | |
tree | 15bb97633431cdab7ace68af0e44cc9d8982d53c /mk/tools | |
parent | e36581344ef24ddf89f06cddcb79f52031263634 (diff) | |
download | pkgsrc-116200b7a1276518672f23a912a6d7b808bbd222.tar.gz |
If LIBABISUFFIX is set add lib${LIBABISUFFIX}/pkgconfig to the default
pkg-config search path, required on Red Hat Linux.
Diffstat (limited to 'mk/tools')
-rw-r--r-- | mk/tools/pkg-config.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/tools/pkg-config.mk b/mk/tools/pkg-config.mk index 3760f735039..9d0709b6b82 100644 --- a/mk/tools/pkg-config.mk +++ b/mk/tools/pkg-config.mk @@ -1,4 +1,4 @@ -# $NetBSD: pkg-config.mk,v 1.11 2012/10/30 18:48:33 drochner Exp $ +# $NetBSD: pkg-config.mk,v 1.12 2014/03/07 15:15:17 jperkin Exp $ # # Copyright (c) 2005 The NetBSD Foundation, Inc. # All rights reserved. @@ -39,6 +39,9 @@ # Override the location where pkg-config searches for *.pc files in the # pkg-config wrapper script. # +.if !empty(LIBABISUFFIX) +_PKG_CONFIG_LIBDIR?= ${BUILDLINK_DIR}/lib${LIBABISUFFIX}/pkgconfig:${BUILDLINK_DIR}/lib/pkgconfig:${BUILDLINK_DIR}/share/pkgconfig +.endif _PKG_CONFIG_LIBDIR?= ${BUILDLINK_DIR}/lib/pkgconfig:${BUILDLINK_DIR}/share/pkgconfig _PKG_CONFIG_LOG?= ${WRKDIR}/.pkg-config.log |