root / trunk / data / gnupg2 / gnupth.diff

Revision 5, 1.1 kB (checked in by saurik, 1 year ago)

Added many more packages (gnupg and friends), fixed repository signing, ported vim to Darwin 10.5, and added a better set of default scripts for package construction.

  • m4/gnupg-pth.m4

    diff -r -u gnupg-2.0.8/m4/gnupg-pth.m4 gnupg-2.0.8+iPhone/m4/gnupg-pth.m4
    old new  
    5151         _gnupg_pth_save_cflags=$CFLAGS 
    5252         _gnupg_pth_save_ldflags=$LDFLAGS 
    5353         _gnupg_pth_save_libs=$LIBS 
    54          CFLAGS="$CFLAGS `$PTH_CONFIG --cflags`" 
    55          LDFLAGS="$LDFLAGS `$PTH_CONFIG --ldflags`" 
    56          LIBS="$LIBS `$PTH_CONFIG --libs --all`" 
     54         CFLAGS= 
     55         LDFLAGS= 
     56         LIBS=-lpth 
    5757         AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <pth.h> 
    5858                                         ], 
    5959                                         [[ pth_init ();]])], 
     
    9292  if test "$PTH_CONFIG" != "no"; then 
    9393    GNUPG_PTH_VERSION_CHECK($tmp) 
    9494    if test $have_pth = yes; then       
    95        PTH_CFLAGS=`$PTH_CONFIG --cflags` 
    96        PTH_LIBS=`$PTH_CONFIG --ldflags` 
    97        PTH_LIBS="$PTH_LIBS `$PTH_CONFIG --libs --all`" 
     95       PTH_CFLAGS= 
     96       PTH_LIBS=-lpth 
    9897       AC_DEFINE(HAVE_PTH, 1, 
    9998                [Defined if the GNU Pth is available]) 
    10099    fi 
Note: See TracBrowser for help on using the browser.