Subversion Repositories nettle

Compare Revisions

Ignore whitespace Rev 16 → Rev 15

/branches/experimental/debian/patches/10_cleanup.dpatch
0,0 → 1,21
#! /bin/sh /usr/share/dpatch/dpatch-run
## 10_cleanup.dpatch by <magnus@kibibyte.se>
##
## DP: Clean up properly
 
@DPATCH@
 
--- nettle-1.15.orig/Makefile.in
+++ nettle-1.15/Makefile.in
@@ -359,9 +359,10 @@
clean-here:
-rm -f $(TARGETS) *.$(OBJEXT) *.p$(OBJEXT) *.s
+ -rm -rf .lib
distclean-here: clean-here
- -rm -f config.h stamp-h config.log config.status \
+ -rm -f config.h stamp-h config.log config.status machine.m4 \
config.make config.m4 Makefile nettle-stdint.h *.asm *.d
maintainer-clean-here:
/branches/experimental/debian/patches/00list
1,2 → 1,3
10_cleanup
20_link_with_gmp
99_autotools_files
/branches/experimental/debian/patches/20_link_with_gmp.dpatch
1,18 → 1,18
#! /bin/sh /usr/share/dpatch/dpatch-run
## 20_link_with_gmp.dpatch by <magnus@kibibyte.se>
##
## DP: Link libhogweed.so.1 with -lgmp
## DP: Link libnettle.so.2 with -lgmp
 
@DPATCH@
diff -urNad nettle-1.15~/config.make.in nettle-1.15/config.make.in
--- nettle-1.15~/config.make.in 2006-11-28 16:30:24.000000000 +0100
+++ nettle-1.15/config.make.in 2007-05-15 12:53:54.000000000 +0200
@@ -39,7 +39,7 @@
LIBHOGWEED_SONAME = @LIBHOGWEED_SONAME@
LIBHOGWEED_FILE = @LIBHOGWEED_FILE@
LIBHOGWEED_FORLINK = @LIBHOGWEED_FORLINK@
-LIBHOGWEED_LIBS = @LIBHOGWEED_LIBS@
+LIBHOGWEED_LIBS = @LIBHOGWEED_LIBS@ -lgmp -L. -lnettle
LIBHOGWEED_LINK = @LIBHOGWEED_LINK@
AR = ar
@@ -28,7 +28,7 @@
SHLIBFILE = @SHLIBFILE@
SHLIBFORLINK = @SHLIBFORLINK@
SHLIBINSTALL = @SHLIBINSTALL@
-SHLIBLIBS = @SHLIBLIBS@
+SHLIBLIBS = @SHLIBLIBS@ -lgmp
SHLIBLINK = @SHLIBLINK@
SHLIBMAJOR = @SHLIBMAJOR@
SHLIBMINOR = @SHLIBMINOR@