diff options
author | adam <adam@pkgsrc.org> | 2013-05-15 15:46:52 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2013-05-15 15:46:52 +0000 |
commit | 0f75539f782a603753789c5cacc4059a30832e43 (patch) | |
tree | ea52f839c06ee10c0ec36d7b33a9c988101a04e3 | |
parent | a9572f0ed3f62f7fd378315eb91227d959e09133 (diff) | |
download | pkgsrc-0f75539f782a603753789c5cacc4059a30832e43.tar.gz |
Don't treat 'clang' as Visual C++ compiler.
-rw-r--r-- | devel/gobject-introspection/distinfo | 3 | ||||
-rw-r--r-- | devel/gobject-introspection/patches/patch-giscanner_dumper.py | 18 |
2 files changed, 20 insertions, 1 deletions
diff --git a/devel/gobject-introspection/distinfo b/devel/gobject-introspection/distinfo index 666fc531a81..8d6643c2db8 100644 --- a/devel/gobject-introspection/distinfo +++ b/devel/gobject-introspection/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.13 2013/05/05 09:20:44 drochner Exp $ +$NetBSD: distinfo,v 1.14 2013/05/15 15:46:52 adam Exp $ SHA1 (gobject-introspection-1.36.0.tar.xz) = 8f0945bda62f2bc2a5ce36e8a1ea7d4753ab0517 RMD160 (gobject-introspection-1.36.0.tar.xz) = bcc541a021ca409395a82fc4dd52a1353679908a @@ -6,4 +6,5 @@ Size (gobject-introspection-1.36.0.tar.xz) = 1201108 bytes SHA1 (patch-aa) = d7ebe6a0c81694fb537dc9cb67286fb9a0d60a9b SHA1 (patch-ac) = 52174e01aa90a5cf75cfe2f255826c1e46f8e183 SHA1 (patch-ad) = 0c67a1bb64e4e39eb9a4829e53744199a0f64fb6 +SHA1 (patch-giscanner_dumper.py) = 318342c8cbb406bb548aa6cb2de25590c06feb42 SHA1 (patch-giscanner_scannerlexer.l) = 9636a0884c2ac718f1b5bfc588d691f707ea310e diff --git a/devel/gobject-introspection/patches/patch-giscanner_dumper.py b/devel/gobject-introspection/patches/patch-giscanner_dumper.py new file mode 100644 index 00000000000..8011c4bfcf9 --- /dev/null +++ b/devel/gobject-introspection/patches/patch-giscanner_dumper.py @@ -0,0 +1,18 @@ +$NetBSD: patch-giscanner_dumper.py,v 1.1 2013/05/15 15:46:52 adam Exp $ + +Don't treat 'clang' as Visual C++ compiler. + +--- work/gobject-introspection-1.36.0//giscanner/dumper.py.orig 2013-05-15 15:30:07.000000000 +0000 ++++ work/gobject-introspection-1.36.0//giscanner/dumper.py +@@ -86,11 +86,6 @@ class DumpCompiler(object): + self._linker_cmd = os.environ.get('CC', self._compiler_cmd) + self._pkgconfig_cmd = os.environ.get('PKG_CONFIG', 'pkg-config') + self._pkgconfig_msvc_flags = '' +- # Enable the --msvc-syntax pkg-config flag when +- # the Microsoft compiler is used +- # (This is the other way to check whether Visual C++ is used subsequently) +- if 'cl' in self._compiler_cmd: +- self._pkgconfig_msvc_flags = '--msvc-syntax' + self._uninst_srcdir = os.environ.get( + 'UNINSTALLED_INTROSPECTION_SRCDIR') + self._packages = ['gio-2.0 gmodule-2.0'] |