diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-08-23 02:43:18 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-08-23 02:43:18 +0000 |
commit | 3a44a50cd0e7bde98b3e23c3a88cb29296036a29 (patch) | |
tree | 8f951ce437a36054f0e653bdceebf2cec943da23 /openwrt/package/ncurses | |
parent | de789d6c03c4227b8e2f05a8145af66255628f4c (diff) |
fix building when host and target systems are same arch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1730 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/ncurses')
-rw-r--r-- | openwrt/package/ncurses/patches/501-cross-no_libdir.patch | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/openwrt/package/ncurses/patches/501-cross-no_libdir.patch b/openwrt/package/ncurses/patches/501-cross-no_libdir.patch new file mode 100644 index 000000000..b8b277fb1 --- /dev/null +++ b/openwrt/package/ncurses/patches/501-cross-no_libdir.patch @@ -0,0 +1,65 @@ +diff -ruN ncurses-5.2-old/configure ncurses-5.2-new/configure +--- ncurses-5.2-old/configure 2005-08-23 04:17:49.000000000 +0200 ++++ ncurses-5.2-new/configure 2005-08-23 04:18:39.000000000 +0200 +@@ -7191,11 +7191,11 @@ + fi + done + echo "$ac_t""$cf_cv_src_modules" 1>&6 +-TEST_ARGS="-L${LIB_DIR} -L\$(libdir) $TEST_ARGS" ++TEST_ARGS="-L${LIB_DIR} $TEST_ARGS" + + + +-PROG_ARGS="-L${LIB_DIR} -L\$(libdir) $PROG_ARGS" ++PROG_ARGS="-L${LIB_DIR} $PROG_ARGS" + + + SRC_SUBDIRS="man include" +diff -ruN ncurses-5.2-old/form/Makefile.in ncurses-5.2-new/form/Makefile.in +--- ncurses-5.2-old/form/Makefile.in 2000-10-14 19:57:02.000000000 +0200 ++++ ncurses-5.2-new/form/Makefile.in 2005-08-23 04:22:08.000000000 +0200 +@@ -85,7 +85,7 @@ + LINK = $(LIBTOOL) $(CC) + LDFLAGS = @LDFLAGS@ @LD_MODEL@ @LIBS@ + +-SHLIB_DIRS = -L../lib -L$(libdir) ++SHLIB_DIRS = -L../lib + SHLIB_LIST = $(SHLIB_DIRS) -lncurses@LIB_SUFFIX@ @SHLIB_LIST@ + + MK_SHARED_LIB = @MK_SHARED_LIB@ +diff -ruN ncurses-5.2-old/menu/Makefile.in ncurses-5.2-new/menu/Makefile.in +--- ncurses-5.2-old/menu/Makefile.in 2000-10-14 19:57:02.000000000 +0200 ++++ ncurses-5.2-new/menu/Makefile.in 2005-08-23 04:22:18.000000000 +0200 +@@ -85,7 +85,7 @@ + LINK = $(LIBTOOL) $(CC) + LDFLAGS = @LDFLAGS@ @LD_MODEL@ @LIBS@ + +-SHLIB_DIRS = -L../lib -L$(libdir) ++SHLIB_DIRS = -L../lib + SHLIB_LIST = $(SHLIB_DIRS) -lncurses@LIB_SUFFIX@ @SHLIB_LIST@ + + MK_SHARED_LIB = @MK_SHARED_LIB@ +diff -ruN ncurses-5.2-old/ncurses/Makefile.in ncurses-5.2-new/ncurses/Makefile.in +--- ncurses-5.2-old/ncurses/Makefile.in 2000-10-15 00:55:35.000000000 +0200 ++++ ncurses-5.2-new/ncurses/Makefile.in 2005-08-23 04:21:53.000000000 +0200 +@@ -99,7 +99,7 @@ + LINK = $(LIBTOOL) $(CC) + LDFLAGS = @LDFLAGS@ @LD_MODEL@ @LIBS@ + +-SHLIB_DIRS = -L../lib -L$(libdir) ++SHLIB_DIRS = -L../lib + SHLIB_LIST = $(SHLIB_DIRS) @SHLIB_LIST@ + TINFO_LIST = $(SHLIB_DIRS) @TINFO_LIST@ + +diff -ruN ncurses-5.2-old/panel/Makefile.in ncurses-5.2-new/panel/Makefile.in +--- ncurses-5.2-old/panel/Makefile.in 2000-10-14 19:57:02.000000000 +0200 ++++ ncurses-5.2-new/panel/Makefile.in 2005-08-23 04:22:30.000000000 +0200 +@@ -86,7 +86,7 @@ + LINK = $(LIBTOOL) $(CC) + LDFLAGS = @LDFLAGS@ @LD_MODEL@ @LIBS@ + +-SHLIB_DIRS = -L../lib -L$(libdir) ++SHLIB_DIRS = -L../lib + SHLIB_LIST = $(SHLIB_DIRS) -lncurses@LIB_SUFFIX@ @SHLIB_LIST@ + + MK_SHARED_LIB = @MK_SHARED_LIB@ |