Browse Source

Tobias Hintze:

fixed libowfat for cross-compiling



git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@8631 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Tobias Hintze 17 years ago
parent
commit
e4416a47e5
2 changed files with 24 additions and 2 deletions
  1. +1
    -1
      package/sirkull/libowfat/libowfat.desc
  2. +23
    -1
      package/sirkull/libowfat/makefile.patch

+ 1
- 1
package/sirkull/libowfat/libowfat.desc

@ -37,7 +37,7 @@
[L] GPL
[S] Stable
[V] 0.25
[P] X -?---5---9 153.400
[P] X -X---5---9 153.400
[O] prefix=/opt/libowfat mandir=/opt/libowfat/man infodir=/opt/libowfat/info

package/sirkull/libowfat/prefix.patch → package/sirkull/libowfat/makefile.patch

@ -1,6 +1,6 @@
diff -Naur libowfat-0.25-orig/GNUmakefile libowfat-0.25/GNUmakefile
--- libowfat-0.25-orig/GNUmakefile 2006-07-16 01:17:01.000000000 +0200
+++ libowfat-0.25/GNUmakefile 2007-07-01 00:24:24.289027108 +0200
+++ libowfat-0.25/GNUmakefile 2007-07-12 03:16:41.764579693 +0200
@@ -4,7 +4,6 @@
# in /opt/diet, where they are in the default search path for my diet libc
# work but don't conflict with anything there. YMMV.
@ -9,3 +9,25 @@ diff -Naur libowfat-0.25-orig/GNUmakefile libowfat-0.25/GNUmakefile
LIBDIR=${prefix}/lib
INCLUDEDIR=${prefix}/include
MAN3DIR=${prefix}/man/man3
@@ -132,8 +131,8 @@
$(IO_OBJS) $(CDB_OBJS)
libowfat.a: $(ALL_OBJS)
- $(CROSS)ar cr $@ $(ALL_OBJS)
- -$(CROSS)ranlib $@
+ $(AR) cr $@ $(ALL_OBJS)
+ -$(RANLIB) $@
CFLAGS+=-I.
@@ -141,8 +140,8 @@
$(DIET) $(CC) -c $< $(CFLAGS)
%.a:
- ar cr $@ $^
- -ranlib $@
+ $(AR) cr $@ $^
+ -$(RANLIB) $@
t.o: iopause.h

Loading…
Cancel
Save