# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/gnupg2/gnupg2.conf # Copyright (C) 2004 - 2023 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2. # --- T2-COPYRIGHT-NOTE-END --- var_append confopt ' ' '--disable-tests' pkginstalled openldap || var_append confopt ' ' '--without-ldap' if pkginstalled openldap; then pkgprefix -t openldap var_append configprefix " " 'CFLAGS="-I$(pkgprefix includedir openldap)"' var_append configprefix " " 'LDFLAGS="-L$(pkgprefix libdir openldap)"' fi # fix shared files with GnuPG-1 hook_add preconf 3 "find . -name Makefile.in -exec sed -ie 's#\(@PACKAGE@\)#\12#g' {} \;" # tests inf. loop on ppc64, ignore for now [ "$arch" = powerpc64 ] && var_append makeopt ' ' 'tests=' && var_append makeinstopt ' ' 'tests=' # guide cross compiling var_append extraconfopt ' ' "--with-gpg-error-prefix=$root/`pkgprefix libgpg-error`" var_append extraconfopt ' ' "--with-gcrypt-prefix=$root/`pkgprefix libgcrypt`" var_append extraconfopt ' ' "--with-libassuan-prefix=$root/`pkgprefix libassuan`" var_append extraconfopt ' ' "--with-ksba-prefix=$root/`pkgprefix libksba`"