ports/devel/gdb/files/patch-gdb-configure
Michael Scheidell d76533a4f1 - Adds HW watchpoint support for amd64, closing ports/160930 (thanks to Ben Morrow)
- Adds a symbolic link executable with the version suffix to support tools without debugger configuration (like devel/nemiver)
- Bump PORTREVISION due to track changes to options and pkg-plist

PR:		ports/165357
Submitted by:	Luca Pizzamiglio <luca.pizzamiglio@gmail.com> (maintainer)
Approved by:	gabor (mentor, implicit)
2012-02-25 11:57:56 +00:00

11 lines
475 B
Text

--- gdb/configure.orig 2012-01-24 16:59:13.000000000 +0100
+++ gdb/configure 2012-01-24 16:59:40.000000000 +0100
@@ -15294,7 +15294,7 @@
OLD_LDFLAGS=$LDFLAGS
OLD_LIBS=$LIBS
CFLAGS="$CFLAGS -I${srcdir}/../include -I../bfd -I${srcdir}/../bfd"
-LDFLAGS="$LDFLAGS -L../bfd -L../libiberty"
+LDFLAGS="-L../bfd -L../libiberty $LDFLAGS"
intl=`echo $LIBINTL | sed 's,${top_builddir}/,,g'`
# -ldl is provided by bfd/Makfile.am (LIBDL) <PLUGINS>.
if test "$plugins" = "yes"; then