Commits

Ryan Schmidt authored ed15ece556b
nettle: include the major library version number in the install_name

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@84388 d073be05-634f-4543-b044-5fe20cf6d1d6
No tags

devel/nettle/files/patch-configure.diff

Modified
13 13 @@ -4535,16 +4534,16 @@
14 14 ;;
15 15 darwin*)
16 16 LIBNETTLE_FORLINK=libnettle.dylib
17 17 - LIBNETTLE_SONAME='$(LIBNETTLE_FORLINK).$(LIBNETTLE_MAJOR)'
18 18 - LIBNETTLE_FILE='$(LIBNETTLE_SONAME).$(LIBNETTLE_MINOR)'
19 19 - LIBNETTLE_LINK='$(CC) -dynamiclib $(LDFLAGS)'
20 20 - LIBNETTLE_LIBS=''
21 21 + LIBNETTLE_SONAME='libnettle.$(LIBNETTLE_MAJOR).dylib'
22 22 + LIBNETTLE_FILE='libnettle.$(LIBNETTLE_MAJOR).$(LIBNETTLE_MINOR).dylib'
23 -+ LIBNETTLE_LINK='$(CC) -dynamiclib $(LDFLAGS) -install_name ${libdir}/$(LIBNETTLE_FORLINK) -compatibility_version $(LIBNETTLE_MAJOR) -current_version $(LIBNETTLE_MAJOR).$(LIBNETTLE_MINOR)'
23 ++ LIBNETTLE_LINK='$(CC) -dynamiclib $(LDFLAGS) -install_name ${libdir}/$(LIBNETTLE_SONAME) -compatibility_version $(LIBNETTLE_MAJOR) -current_version $(LIBNETTLE_MAJOR).$(LIBNETTLE_MINOR)'
24 24 + LIBNETTLE_LIBS='$(LIBS)'
25 25
26 26 LIBHOGWEED_FORLINK=libhogweed.dylib
27 27 - LIBHOGWEED_SONAME='$(LIBHOGWEED_FORLINK).$(LIBHOGWEED_MAJOR)'
28 28 - LIBHOGWEED_FILE='$(LIBHOGWEED_SONAME).$(LIBHOGWEED_MINOR)'
29 29 - LIBHOGWEED_LINK='$(CC) -dynamiclib $(LDFLAGS)'
30 30 - LIBHOGWEED_LIBS=''
31 31 + LIBHOGWEED_SONAME='libhogweed.$(LIBHOGWEED_MAJOR).dylib'
32 32 + LIBHOGWEED_FILE='libhogweed.$(LIBHOGWEED_MAJOR).$(LIBHOGWEED_MINOR).dylib'
33 -+ LIBHOGWEED_LINK='$(CC) -dynamiclib $(LDFLAGS) -L. -install_name ${libdir}/$(LIBHOGWEED_FORLINK) -compatibility_version $(LIBHOGWEED_MAJOR) -current_version $(LIBHOGWEED_MAJOR).$(LIBHOGWEED_MINOR)'
33 ++ LIBHOGWEED_LINK='$(CC) -dynamiclib $(LDFLAGS) -L. -install_name ${libdir}/$(LIBHOGWEED_SONAME) -compatibility_version $(LIBHOGWEED_MAJOR) -current_version $(LIBHOGWEED_MAJOR).$(LIBHOGWEED_MINOR)'
34 34 + LIBHOGWEED_LIBS='$(LIBS) -lnettle -gmp'
35 35 ;;
36 36 solaris*)
37 37 # Sun's ld uses -h to set the soname, and this option is passed

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut