openbsd-ports/www/chromium/patches/patch-remoting_remoting_gyp

36 lines
1.1 KiB
Plaintext

$OpenBSD: patch-remoting_remoting_gyp,v 1.4 2011/06/08 20:36:56 robert Exp $
--- remoting/remoting.gyp.orig Wed Jun 8 12:19:53 2011
+++ remoting/remoting.gyp Wed Jun 8 16:25:52 2011
@@ -233,12 +233,12 @@
'host/screen_recorder.cc',
'host/screen_recorder.h',
'host/user_authenticator.h',
- 'host/user_authenticator_linux.cc',
+ 'host/user_authenticator_bsd.cc',
'host/user_authenticator_mac.cc',
'host/user_authenticator_win.cc',
],
'conditions': [
- ['OS=="linux"', {
+ ['OS=="linux" or OS=="openbsd"', {
'dependencies': [
'../build/linux/system.gyp:gtk',
],
@@ -251,7 +251,6 @@
'-lX11',
'-lXdamage',
'-lXtst',
- '-lpam',
'-lXext'
],
},
@@ -555,7 +554,7 @@
'run_all_unittests.cc',
],
'conditions': [
- ['OS=="linux"', {
+ ['OS=="linux" or OS=="openbsd"', {
'dependencies': [
'../app/app.gyp:app_base',
# Needed for the following #include chain: