mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
add openssl
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3931 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
28
package/openssl/patches/120-makedepend.patch
Normal file
28
package/openssl/patches/120-makedepend.patch
Normal file
@@ -0,0 +1,28 @@
|
||||
diff -ruN openssl-0.9.7g-old/util/domd openssl-0.9.7g-new/util/domd
|
||||
--- openssl-0.9.7g-old/util/domd 2004-05-11 14:46:18.000000000 +0200
|
||||
+++ openssl-0.9.7g-new/util/domd 2005-05-30 20:20:04.000000000 +0200
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/sh
|
||||
+#!/bin/bash
|
||||
# Do a makedepend, only leave out the standard headers
|
||||
# Written by Ben Laurie <ben@algroup.co.uk> 19 Jan 1999
|
||||
|
||||
@@ -14,7 +14,8 @@
|
||||
cp Makefile Makefile.save
|
||||
# fake the presence of Kerberos
|
||||
touch $TOP/krb5.h
|
||||
-if [ "$MAKEDEPEND" = "gcc" ]; then
|
||||
+D=${MAKEDEPEND/%*gcc/gcc}
|
||||
+if [ "$D" = "gcc" ]; then
|
||||
args=""
|
||||
while [ $# -gt 0 ]; do
|
||||
if [ "$1" != "--" ]; then args="$args $1"; fi
|
||||
@@ -22,7 +23,7 @@
|
||||
done
|
||||
sed -e '/^# DO NOT DELETE.*/,$d' < Makefile > Makefile.tmp
|
||||
echo '# DO NOT DELETE THIS LINE -- make depend depends on it.' >> Makefile.tmp
|
||||
- gcc -D OPENSSL_DOING_MAKEDEPEND -M $args >> Makefile.tmp
|
||||
+ ${MAKEDEPEND} -D OPENSSL_DOING_MAKEDEPEND -M $args >> Makefile.tmp
|
||||
${PERL} $TOP/util/clean-depend.pl < Makefile.tmp > Makefile.new
|
||||
rm -f Makefile.tmp
|
||||
else
|
||||
Reference in New Issue
Block a user