summaryrefslogtreecommitdiff
path: root/libdes/libdes-4.01/cross-compile.patch
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-11-09 00:36:47 +0000
committerChris Larson <clarson@kergoth.com>2004-11-09 00:36:47 +0000
commitf96441b9faf769c9ecdd4d338b605ea3d0cc4010 (patch)
treeedb17ec2c4ea13c5acb1c7350957a249a820e28d /libdes/libdes-4.01/cross-compile.patch
parentb6588aa6851fb220cedc387d21c51513ef8d67f4 (diff)
Disable bk EOLN_NATIVE conversions on all files in packages FILESPATHs, to prevent it screwing up patches.
BKrev: 4190111fA4MuVozAqwE7xOSL9fr-TA
Diffstat (limited to 'libdes/libdes-4.01/cross-compile.patch')
-rw-r--r--libdes/libdes-4.01/cross-compile.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/libdes/libdes-4.01/cross-compile.patch b/libdes/libdes-4.01/cross-compile.patch
index e69de29bb2..23fb518246 100644
--- a/libdes/libdes-4.01/cross-compile.patch
+++ b/libdes/libdes-4.01/cross-compile.patch
@@ -0,0 +1,35 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- libdes/Makefile~cross-compile 1997-01-13 18:27:30.000000000 +0100
++++ libdes/Makefile 2004-02-15 01:57:46.000000000 +0100
+@@ -42,10 +42,10 @@
+ #DES_ENC=asm/dx86-sol.o # solaris format x86
+ #DES_ENC=asm/dx86bsdi.o # bsdi format x86
+
+-LIBDIR=/usr/local/lib
+-BINDIR=/usr/local/bin
+-INCDIR=/usr/local/include
+-MANDIR=/usr/local/man
++LIBDIR=$(DESTDIR)/usr/lib
++BINDIR=$(DESTDIR)/usr/bin
++INCDIR=$(DESTDIR)/usr/include
++MANDIR=$(DESTDIR)/usr/man
+ MAN1=1
+ MAN3=3
+ SHELL=/bin/sh
+@@ -94,10 +94,8 @@
+
+ $(DLIB): $(OBJS)
+ /bin/rm -f $(DLIB)
+- ar cr $(DLIB) $(OBJS)
+- -if test -s /bin/ranlib; then /bin/ranlib $(DLIB); \
+- else if test -s /usr/bin/ranlib; then /usr/bin/ranlib $(DLIB); \
+- else exit 0; fi; fi
++ $(AR) cr $(DLIB) $(OBJS)
++ $(RANLIB) $(DLIB)
+
+ des_opts: des_opts.o libdes.a
+ $(CC) $(CFLAGS) -o des_opts des_opts.o libdes.a