pkgsrc/wm/awesome/patches/patch-build-utils_lgi-check.sh
dholland d87c583a9d Requires cairo-gobject. PKGREVISION -> 2.
This package uses lua-gi at build time to see if it can load
cairo-gobject; this does not (AFAICT) work without buildlinking
lua-gi, and possibly not even then, and I don't want to get into that
unless necessary. So make the failure non-fatal as the package build
system suggests. (Except that the way they suggest isn't working for
some other reason, so do it forcibly.)

I am not really in a position to test it at runtime right now, so if
it doesn't work let me know. At least now the package builds.
2013-12-08 00:18:21 +00:00

17 lines
503 B
Bash

$NetBSD: patch-build-utils_lgi-check.sh,v 1.1 2013/12/08 00:18:21 dholland Exp $
For some reason (probably cmake's doing) setting AWESOME_IGNORE_LGI=1
from pkgsrc does not prevent this from failing the build, so do it
forcibly.
--- build-utils/lgi-check.sh~ 2013-04-01 11:44:46.000000000 +0000
+++ build-utils/lgi-check.sh
@@ -14,7 +14,7 @@ die()
echo " Add AWESOME_IGNORE_LGI=1 to your environment to continue."
echo
echo
- if [ "x$AWESOME_IGNORE_LGI" = "x1" ]
+ if true;
then
exit 0
fi