Rev 8 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8 | Rev 33 | ||
---|---|---|---|
Line 7... | Line 7... | ||
7 | FILES=`find src -name nettle -prune -o -name Makefile.in -print` |
7 | FILES=`find src -name nettle -prune -o -name Makefile.in -print` |
8 | 8 | ||
9 | dpatch_patch() { |
9 | dpatch_patch() { |
10 | if [ ! -f debian/patched/30_nonettle_orig.tar.gz ]; then |
10 | if [ ! -f debian/patched/30_nonettle_orig.tar.gz ]; then |
11 | tar -czf debian/patched/30_nonettle_orig.tar.gz $FILES |
11 | tar -czf debian/patched/30_nonettle_orig.tar.gz $FILES |
12 | sed -ri -e '/^LDADD/s%(\.\.?/)*nettle/libnettle\.a%-lnettle%' \ |
12 | sed -ri -e '/^LDADD/,+1s%(\.\.?/)*nettle/libnettle\.a|-lnettle%-lnettle -lhogweed%' \ |
13 | -e 's%\s*(-[IL]\s*)?(\.\.?/)*\bnettle(/libnettle\.a)?\b%%g' $FILES |
13 | -e 's%\s*(-[IL]\s*)?(\.\.?/)*\bnettle(/libnettle\.a)?\b%%g' $FILES |
14 | mv src/nettle src/nettle-unused |
14 | mv src/nettle src/nettle-unused |
15 | fi |
15 | fi |
16 | } |
16 | } |
17 | 17 |