[114461] trunk/dports/security/pbc

ryandesign at macports.org ryandesign at macports.org
Mon Dec 9 02:16:54 PST 2013


Revision: 114461
          https://trac.macports.org/changeset/114461
Author:   ryandesign at macports.org
Date:     2013-12-09 02:16:54 -0800 (Mon, 09 Dec 2013)
Log Message:
-----------
pbc: maintainer update to 0.5.14 (#41735); add a patch for the configure script so that CFLAGS are not overwritten so that universal builds work (#28924), don't look for dependencies installed with Fink, don't use "echo -n" which is not portable

Modified Paths:
--------------
    trunk/dports/security/pbc/Portfile

Added Paths:
-----------
    trunk/dports/security/pbc/files/
    trunk/dports/security/pbc/files/patch-configure.diff

Modified: trunk/dports/security/pbc/Portfile
===================================================================
--- trunk/dports/security/pbc/Portfile	2013-12-09 07:33:21 UTC (rev 114460)
+++ trunk/dports/security/pbc/Portfile	2013-12-09 10:16:54 UTC (rev 114461)
@@ -4,7 +4,7 @@
 PortSystem          1.0
 
 name                pbc
-version             0.5.11
+version             0.5.14
 categories          security
 platforms           darwin
 maintainers         googlemail.com:jgilab openmaintainer
@@ -31,7 +31,9 @@
 homepage            http://crypto.stanford.edu/pbc/
 master_sites        ${homepage}files/
 
-checksums           sha1    8b99533afad4df5edf0e3f23a6603cbd23080206 \
-                    rmd160  f00faf33e64efa1de4180cc8a83fc82fc904ab02
+checksums           sha1    8947f1a5a32d5c2d1f5113ccbb1e0d25ca5ce1c9 \
+                    rmd160  7cf2fb398960d34d7207798296ceb8324af34a17
 
 depends_lib         port:gmp
+
+patchfiles          patch-configure.diff

Added: trunk/dports/security/pbc/files/patch-configure.diff
===================================================================
--- trunk/dports/security/pbc/files/patch-configure.diff	                        (rev 0)
+++ trunk/dports/security/pbc/files/patch-configure.diff	2013-12-09 10:16:54 UTC (rev 114461)
@@ -0,0 +1,53 @@
+Do not override CFLAGS, which causes universal builds to fail.
+Do not look for dependencies installed with Fink.
+Do not use "echo -n" which is not portable.
+--- configure.orig	2013-06-14 22:43:05.000000000 -0500
++++ configure	2013-12-09 04:11:22.000000000 -0600
+@@ -11343,29 +11343,6 @@
+ 
+ #AC_CANONICAL_HOST
+ 
+-CFLAGS=
+-default_fink_path=/sw
+-case $host_os in
+-     darwin*)
+-	           	      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fink installation at $default_fink_path" >&5
+-$as_echo_n "checking for a fink installation at $default_fink_path... " >&6; }
+-     	      if test -d $default_fink_path; then
+-	      	 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found it!" >&5
+-$as_echo "found it!" >&6; }
+-		 { $as_echo "$as_me:${as_lineno-$LINENO}: Adding -I$default_fink_path/include to CPPFLAGS" >&5
+-$as_echo "$as_me: Adding -I$default_fink_path/include to CPPFLAGS" >&6;}
+-	      	 CPPFLAGS="-I$default_fink_path/include $CPPFLAGS"
+-		 { $as_echo "$as_me:${as_lineno-$LINENO}: Adding -L$default_fink_path/lib to LDFLAGS" >&5
+-$as_echo "$as_me: Adding -L$default_fink_path/lib to LDFLAGS" >&6;}
+-		 LDFLAGS="-L$default_fink_path/lib $LDFLAGS"
+-	      else
+-		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
+-$as_echo "none" >&6; }
+-		{ $as_echo "$as_me:${as_lineno-$LINENO}: You may need to add set CPPFLAGS and LDFLAGS for gmp, etc." >&5
+-$as_echo "$as_me: You may need to add set CPPFLAGS and LDFLAGS for gmp, etc." >&6;}
+-	      fi
+-	      ;;
+-esac
+ 
+ ############################
+ # Configs for Windows DLLs.
+@@ -16074,7 +16051,7 @@
+ fi
+ 
+ 
+-echo -ne "\n"
++echo
+ echo "global build variables"
+ echo "-----------------------------------------"
+ echo `date`
+@@ -16091,7 +16068,7 @@
+ echo "AM_YFLAGS:        $AM_YFLAGS"
+ echo "YFLAGS:           $YFLAGS"
+ echo "-----------------------------------------"
+-echo -ne "\n"
++echo
+ 
+ 
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131209/7bfd1c1f/attachment-0001.html>


More information about the macports-changes mailing list