[104701] trunk/dports/devel/nettle

jeremyhu at macports.org jeremyhu at macports.org
Sun Mar 31 18:18:27 PDT 2013


Revision: 104701
          https://trac.macports.org/changeset/104701
Author:   jeremyhu at macports.org
Date:     2013-03-31 18:18:27 -0700 (Sun, 31 Mar 2013)
Log Message:
-----------
nettle: Bump to 2.6

Modified Paths:
--------------
    trunk/dports/devel/nettle/Portfile

Added Paths:
-----------
    trunk/dports/devel/nettle/files/no-fink.patch

Removed Paths:
-------------
    trunk/dports/devel/nettle/files/patch-configure.diff

Modified: trunk/dports/devel/nettle/Portfile
===================================================================
--- trunk/dports/devel/nettle/Portfile	2013-04-01 00:56:51 UTC (rev 104700)
+++ trunk/dports/devel/nettle/Portfile	2013-04-01 01:18:27 UTC (rev 104701)
@@ -4,8 +4,7 @@
 PortSystem          1.0
 
 name                nettle
-version             2.4
-revision            1
+version             2.6
 categories          devel crypto
 platforms           darwin
 maintainers         gmx.de:exodusd uni-paderborn.de:nicke openmaintainer
@@ -28,13 +27,16 @@
 homepage            http://www.lysator.liu.se/~nisse/nettle/
 master_sites        gnu
 
-checksums           rmd160  8480e10ce718db1a280d57a808a78a4cfa940d1c \
-                    sha256  a6009208df6881f75aa1a87081ccfb2ccac1884da10670c53d7b76596f649c3f
+checksums           rmd160  898483350285468fe66b3fad4e7891583b08e15e \
+                    sha256  60df624f63b997c832cae29f48ab9ada99df815bcd60d231526b83e786b4b156
 
 depends_lib         port:gmp
 
-patchfiles          patch-configure.diff
+patchfiles          no-fink.patch
 
+use_autoreconf      yes
+autoreconf.args     -fvi
+
 configure.args      --enable-shared
 
 if {"x86_64" == ${configure.build_arch}} {

Added: trunk/dports/devel/nettle/files/no-fink.patch
===================================================================
--- trunk/dports/devel/nettle/files/no-fink.patch	                        (rev 0)
+++ trunk/dports/devel/nettle/files/no-fink.patch	2013-04-01 01:18:27 UTC (rev 104701)
@@ -0,0 +1,13 @@
+--- configure.ac.orig	2013-03-31 18:10:22.000000000 -0700
++++ configure.ac	2013-03-31 18:11:22.000000000 -0700
+@@ -69,9 +69,7 @@ AC_ARG_ENABLE(documentation,
+   [enable_documentation=auto])
+ 
+ LSH_RPATH_INIT([`echo $with_lib_path | sed 's/:/ /g'` \
+-    `echo $exec_prefix | sed "s@^NONE@$prefix/lib at g" | sed "s@^NONE@$ac_default_prefix/lib at g"` \
+-    /usr/local/lib /sw/local/lib /sw/lib \
+-    /usr/gnu/lib /opt/gnu/lib /sw/gnu/lib /usr/freeware/lib /usr/pkg/lib])
++    `echo $exec_prefix | sed "s@^NONE@$prefix/lib at g" | sed "s@^NONE@$ac_default_prefix/lib at g"`])
+ 
+ # Checks for programs.
+ AC_PROG_CC

Deleted: trunk/dports/devel/nettle/files/patch-configure.diff
===================================================================
--- trunk/dports/devel/nettle/files/patch-configure.diff	2013-04-01 00:56:51 UTC (rev 104700)
+++ trunk/dports/devel/nettle/files/patch-configure.diff	2013-04-01 01:18:27 UTC (rev 104701)
@@ -1,37 +0,0 @@
---- configure.orig	2011-09-03 07:51:07.000000000 -0500
-+++ configure	2011-09-23 19:35:53.000000000 -0500
-@@ -2642,8 +2642,7 @@
- 
- for d in `echo $with_lib_path | sed 's/:/ /g'` \
-     `echo $exec_prefix | sed "s@^NONE@$prefix/lib at g" | sed "s@^NONE@$ac_default_prefix/lib at g"` \
--    /usr/local/lib /sw/local/lib /sw/lib \
--    /usr/gnu/lib /opt/gnu/lib /sw/gnu/lib /usr/freeware/lib /usr/pkg/lib ; do
-+    ; do
-   { $as_echo "$as_me:${as_lineno-$LINENO}: checking $d" >&5
- $as_echo_n "checking $d... " >&6; }
- ac_exists=no
-@@ -4535,16 +4534,16 @@
-     ;;
-   darwin*)
-     LIBNETTLE_FORLINK=libnettle.dylib
--    LIBNETTLE_SONAME='$(LIBNETTLE_FORLINK).$(LIBNETTLE_MAJOR)'
--    LIBNETTLE_FILE='$(LIBNETTLE_SONAME).$(LIBNETTLE_MINOR)'
--    LIBNETTLE_LINK='$(CC) -dynamiclib $(LDFLAGS)'
--    LIBNETTLE_LIBS=''
-+    LIBNETTLE_SONAME='libnettle.$(LIBNETTLE_MAJOR).dylib'
-+    LIBNETTLE_FILE='libnettle.$(LIBNETTLE_MAJOR).$(LIBNETTLE_MINOR).dylib'
-+    LIBNETTLE_LINK='$(CC) -dynamiclib $(LDFLAGS) -install_name ${libdir}/$(LIBNETTLE_SONAME) -compatibility_version $(LIBNETTLE_MAJOR) -current_version $(LIBNETTLE_MAJOR).$(LIBNETTLE_MINOR)'
-+    LIBNETTLE_LIBS='$(LIBS)'
- 
-     LIBHOGWEED_FORLINK=libhogweed.dylib
--    LIBHOGWEED_SONAME='$(LIBHOGWEED_FORLINK).$(LIBHOGWEED_MAJOR)'
--    LIBHOGWEED_FILE='$(LIBHOGWEED_SONAME).$(LIBHOGWEED_MINOR)'
--    LIBHOGWEED_LINK='$(CC) -dynamiclib $(LDFLAGS)'
--    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'
-     ;;
-   solaris*)
-     # Sun's ld uses -h to set the soname, and this option is passed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130331/bf004ddf/attachment.html>


More information about the macports-changes mailing list