openbsd-ports/devel/gobject-introspection/patches/patch-tools_g-ir-scanner_in
jasper 3f3b372442 import gobject-introspection 0.6.5
GObject Introspection is a project for providing machine readable
introspection data of the API of C libraries. This introspection data
can be used in several different use cases, for example automatic code
generation for bindings, API verification and documentation generation.

feedback and ok ajacoutot@ landry@
2009-09-24 20:08:09 +00:00

16 lines
582 B
Plaintext

$OpenBSD: patch-tools_g-ir-scanner_in,v 1.1.1.1 2009/09/24 20:08:09 jasper Exp $
Pickup files from the correct directory.
--- tools/g-ir-scanner.in.orig Thu Sep 24 21:58:18 2009
+++ tools/g-ir-scanner.in Thu Sep 24 21:58:44 2009
@@ -30,7 +30,7 @@ if current_name == 'tools':
else:
# This is a private directory, we don't want to pollute the global
# namespace.
- path = os.path.join('@libdir@', 'gobject-introspection')
+ path = os.path.join('${MODPY_SITEPKG}', 'gobject-introspection')
sys.path.insert(0, path)
from giscanner.scannermain import scanner_main