openbsd-ports/graphics/node-canvas/patches/patch-binding_gyp
2013-03-02 12:29:09 +00:00

19 lines
545 B
Plaintext

$OpenBSD: patch-binding_gyp,v 1.2 2013/03/02 12:29:09 jasper Exp $
--- binding.gyp.orig Wed Jan 16 22:50:42 2013
+++ binding.gyp Mon Feb 18 20:06:57 2013
@@ -46,9 +46,11 @@
]
}, { # 'OS!="win"'
'libraries': [
- '-lpixman-1',
- '-lcairo'
- ]
+ '<!@(pkg-config cairo --libs)'
+ ],
+ 'include_dirs': [
+ '<!@(pkg-config cairo --cflags-only-I | sed s/-I//g)'
+ ],
}],
['with_freetype=="true"', {
'defines': [