annotate sources/patches/uClibc++-norelpath.patch @ 1533:db5d13f2474f

Fix ".config is a directory" error with uClibc++.
author Rob Landley <rob@landley.net>
date Fri, 17 Aug 2012 18:54:00 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1533
db5d13f2474f Fix ".config is a directory" error with uClibc++.
Rob Landley <rob@landley.net>
parents:
diff changeset
1 If /.config exists and is a directory (thanks Trolltech) the build dies because -include $(TOPDIR).config is not an absolute path so it falls back to the search path and finds /usr/include/../../.config
db5d13f2474f Fix ".config is a directory" error with uClibc++.
Rob Landley <rob@landley.net>
parents:
diff changeset
2 diff -ru uClibc++/extra/config/Makefile uClibc++.bak/extra/config/Makefile
db5d13f2474f Fix ".config is a directory" error with uClibc++.
Rob Landley <rob@landley.net>
parents:
diff changeset
3 --- uClibc++/extra/config/Makefile 2007-06-03 17:51:13.000000000 -0500
db5d13f2474f Fix ".config is a directory" error with uClibc++.
Rob Landley <rob@landley.net>
parents:
diff changeset
4 +++ uClibc++.bak/extra/config/Makefile 2012-08-17 12:37:25.571361853 -0500
db5d13f2474f Fix ".config is a directory" error with uClibc++.
Rob Landley <rob@landley.net>
parents:
diff changeset
5 @@ -16,7 +16,7 @@
db5d13f2474f Fix ".config is a directory" error with uClibc++.
Rob Landley <rob@landley.net>
parents:
diff changeset
6 # along with this program; if not, write to the Free Software Foundation, Inc.,
db5d13f2474f Fix ".config is a directory" error with uClibc++.
Rob Landley <rob@landley.net>
parents:
diff changeset
7 # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
db5d13f2474f Fix ".config is a directory" error with uClibc++.
Rob Landley <rob@landley.net>
parents:
diff changeset
8
db5d13f2474f Fix ".config is a directory" error with uClibc++.
Rob Landley <rob@landley.net>
parents:
diff changeset
9 -TOPDIR=../../
db5d13f2474f Fix ".config is a directory" error with uClibc++.
Rob Landley <rob@landley.net>
parents:
diff changeset
10 +TOPDIR=$(shell readlink -f ../..)/
db5d13f2474f Fix ".config is a directory" error with uClibc++.
Rob Landley <rob@landley.net>
parents:
diff changeset
11 include $(TOPDIR)Rules.mak
db5d13f2474f Fix ".config is a directory" error with uClibc++.
Rob Landley <rob@landley.net>
parents:
diff changeset
12
db5d13f2474f Fix ".config is a directory" error with uClibc++.
Rob Landley <rob@landley.net>
parents:
diff changeset
13 all: ncurses conf mconf