0d23a6ec1a
Fixes the build of hs-cairo. ok dcoppa@, jasper@ (who wanted the extra comment in the patch file)
20 lines
629 B
Plaintext
20 lines
629 B
Plaintext
$OpenBSD: patch-configure,v 1.9 2011/06/28 11:04:40 kili Exp $
|
|
|
|
Use `Requires', not `Requires.private', because otherwise libraries
|
|
required for linking aren't exposed.
|
|
|
|
--- configure.orig Sat Dec 25 15:22:57 2010
|
|
+++ configure Tue Jun 28 12:27:44 2011
|
|
@@ -16983,10 +16983,7 @@ if test "x$PKG_CONFIG" = x; then
|
|
as_fn_error $? "pkg-config >= $PKGCONFIG_REQUIRED required but not found (http://pkgconfig.freedesktop.org/)" "$LINENO" 5
|
|
fi
|
|
|
|
-case `$PKG_CONFIG --version` in
|
|
-0.?|0.?.?|0.1[0-7]|0.1[0-7].?) PKGCONFIG_REQUIRES="Requires"; ;;
|
|
-*) PKGCONFIG_REQUIRES="Requires.private"; ;;
|
|
-esac
|
|
+PKGCONFIG_REQUIRES="Requires"
|
|
|
|
|
|
|