From d58347fdcdc11b390b1df58e06bd90ec1ab8f260 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Sun, 16 Mar 2008 01:23:25 +0200 Subject: [PATCH] opencdk: Marked as cross-compileable when requested Note: We have to assure that the right libgcrpyt is used while cross-compiling by passing '--with-libgcrypt-prefix' confopt as well as disabling the built-in tests. --- security/opencdk/disable-tests.patch.cross | 27 ++++++++++++++++++++++ security/opencdk/opencdk.conf | 17 ++++++++++++++ security/opencdk/opencdk.desc | 2 +- 3 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 security/opencdk/disable-tests.patch.cross create mode 100644 security/opencdk/opencdk.conf diff --git a/security/opencdk/disable-tests.patch.cross b/security/opencdk/disable-tests.patch.cross new file mode 100644 index 000000000..300889dcc --- /dev/null +++ b/security/opencdk/disable-tests.patch.cross @@ -0,0 +1,27 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../opencdk/disable-tests.patch.cross +# Copyright (C) 2008 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- SDE-COPYRIGHT-NOTE-END --- + +--- opencdk-0.6.6/Makefile.in.orig 2008-03-15 20:02:05.000000000 +0200 ++++ opencdk-0.6.6/Makefile.in 2008-03-15 20:02:52.000000000 +0200 +@@ -213,7 +213,7 @@ + target_alias = @target_alias@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ +-SUBDIRS = src doc tests ++SUBDIRS = src doc + ACLOCAL_AMFLAGS = -I m4 + AUTOMAKE_OPTIONS = dist-bzip2 + EXTRA_DIST = autogen.sh diff --git a/security/opencdk/opencdk.conf b/security/opencdk/opencdk.conf new file mode 100644 index 000000000..0cb68a771 --- /dev/null +++ b/security/opencdk/opencdk.conf @@ -0,0 +1,17 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../opencdk/opencdk.conf +# Copyright (C) 2008 The OpenSDE Project +# +# 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 as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +# we have to assure that the right libgcrpyt is used while cross-compiling +pkgprefix -t libgcrypt +var_append confopt ' ' "--with-libgcrypt-prefix=$root/$( pkgprefix libgcrypt )" diff --git a/security/opencdk/opencdk.desc b/security/opencdk/opencdk.desc index 6e20e64e1..432aa7f48 100644 --- a/security/opencdk/opencdk.desc +++ b/security/opencdk/opencdk.desc @@ -37,6 +37,6 @@ [S] Stable [V] 0.6.6 -[P] X -----5---9 109.200 +[P] X -?---5---9 109.200 [D] 268516891 opencdk-0.6.6.tar.bz2 ftp://ftp.gnutls.org/pub/gnutls/opencdk/