summaryrefslogtreecommitdiff
path: root/graphics/lensfun/patches/patch-build_tibs_compiler_pkgconfig.mak
blob: 943f81322b9527e31d6877a9abc35f1329874eb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-build_tibs_compiler_pkgconfig.mak,v 1.1 2013/08/04 19:12:00 adam Exp $

Install pkgconfig file also on Darwin.

--- build/tibs//compiler/pkgconfig.mak.orig	2013-08-04 19:08:20.000000000 +0000
+++ build/tibs//compiler/pkgconfig.mak
@@ -4,7 +4,7 @@ ifdef CONF_LIBDIR
 # Try to guess here if target supports pkgconfig
 # - Any POSIX platform
 # - Cross-compiling on a POSIX target for WINDOWS (mingw32)
-ifneq ($(findstring /posix/,/$(TARGET)/)$(findstring /posix-windows/,/$(HOST)-$(TARGET)/),)
+ifneq ($(findstring /posix/,/$(TARGET)/)$(findstring /mac/,/$(TARGET)/),)
 
 XFNAME.PKGCONFIG = $(addprefix $$(OUT),$1)
 MKDEPS.PKGCONFIG = $1