Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/crypto
In directory vz-cvs-3.sog:/tmp/cvs-serv18375
Modified Files:
nettle4.info nettle4.patch
Log Message:
Fix linking against build-dir libs the Right Way (not via local -L and -l) and
thereby fix install_name of dyld links in installed files to point to %p not %i
Index: nettle4.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/crypto/nettle4.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- nettle4.patch 29 Nov 2011 18:47:54 -0000 1.2
+++ nettle4.patch 16 Mar 2012 03:30:12 -0000 1.3
@@ -20,8 +20,8 @@
- LIBHOGWEED_LIBS=''
+ LIBHOGWEED_SONAME='libhogweed.$(LIBHOGWEED_MAJOR).dylib'
+ LIBHOGWEED_FILE='libhogweed.$(LIBHOGWEED_MAJOR).$(LIBHOGWEED_MINOR).dylib'
-+ LIBHOGWEED_LINK='$(CC) -dynamiclib -L. $(LDFLAGS) -install_name
${libdir}/$(LIBHOGWEED_SONAME) -compatibility_version $(LIBHOGWEED_MAJOR)
-current_version $(LIBHOGWEED_MAJOR).$(LIBHOGWEED_MINOR)'
-+ LIBHOGWEED_LIBS='$(LIBS) -lnettle -gmp'
++ LIBHOGWEED_LINK='$(CC) -dynamiclib $(LDFLAGS) -install_name
${libdir}/$(LIBHOGWEED_SONAME) -compatibility_version $(LIBHOGWEED_MAJOR)
-current_version $(LIBHOGWEED_MAJOR).$(LIBHOGWEED_MINOR)'
++ LIBHOGWEED_LIBS='$(LIBS) libnettle.dylib -gmp'
;;
solaris*)
# Sun's ld uses -h to set the soname, and this option is passed
Index: nettle4.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/crypto/nettle4.info,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- nettle4.info 15 Mar 2012 18:57:15 -0000 1.5
+++ nettle4.info 16 Mar 2012 03:30:12 -0000 1.6
@@ -1,6 +1,6 @@
Package: nettle4
Version: 2.4
-Revision: 4
+Revision: 5
#
License: GPL
Maintainer: Hans-Christoph Steiner <[email protected]>
@@ -10,7 +10,12 @@
Source-MD5: 450be8c4886d46c09f49f568ad6fa013
#
PatchFile: %n.patch
-PatchFile-MD5: 3107e08688a4b0a105229fa7a3d0f9cf
+PatchFile-MD5: 959110883e44c8d2a8724af73d6459cd
+PatchScript: <<
+ %{default_script}
+ perl -pi -e 's,-L\.\.,,g' */Makefile.in
+ perl -pi -e 's,-l(hogweed|nettle),../lib\1.dylib,g' */Makefile.in
+<<
#
Depends: %N-shlibs (= %v-%r), libhogweed (= %v-%r)
BuildDepends: autoconf2.6, gmp5
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs