aboutsummaryrefslogtreecommitdiff
path: root/devel/gdb
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-10-21 16:36:14 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-10-21 16:36:14 +0000
commit293c6be2c065c1017e6e19010583432c2176fcc8 (patch)
tree50471e6924631f12331a59be9c03d97da8e214ad /devel/gdb
parent3fe270e95269d7be6c4ed9cf9b94dce34beffa6e (diff)
downloadports-293c6be2c065c1017e6e19010583432c2176fcc8.tar.gz
ports-293c6be2c065c1017e6e19010583432c2176fcc8.zip
Notes
Diffstat (limited to 'devel/gdb')
-rw-r--r--devel/gdb/files/patch-gdb-python-python-config.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/gdb/files/patch-gdb-python-python-config.py b/devel/gdb/files/patch-gdb-python-python-config.py
new file mode 100644
index 000000000000..24332402d5cc
--- /dev/null
+++ b/devel/gdb/files/patch-gdb-python-python-config.py
@@ -0,0 +1,11 @@
+--- gdb/python/python-config.py.orig 2013-10-17 11:24:52.000000000 +0200
++++ gdb/python/python-config.py 2013-10-17 11:25:04.000000000 +0200
+@@ -59,6 +59,8 @@
+
+ elif opt in ('--libs', '--ldflags'):
+ libs = []
++ if getvar('LDFLAGS') is not None:
++ libs.extend(getvar('LDFLAGS').split())
+ if getvar('LIBS') is not None:
+ libs.extend(getvar('LIBS').split())
+ if getvar('SYSLIBS') is not None: