From a476c68cfdf5b37b783bd8cefea3e6021e857f2c Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 14 May 2015 05:49:26 -0500 Subject: fix nettle pkconfig file --- package/libnettle/Makefile | 2 +- package/libnettle/patches/patch-Makefile_in | 10 +++++----- package/libnettle/patches/patch-hogweed_pc_in | 15 +++++++++++++++ 3 files changed, 21 insertions(+), 6 deletions(-) create mode 100644 package/libnettle/patches/patch-hogweed_pc_in (limited to 'package') diff --git a/package/libnettle/Makefile b/package/libnettle/Makefile index 8dd01aa7a..90d86e599 100644 --- a/package/libnettle/Makefile +++ b/package/libnettle/Makefile @@ -5,7 +5,7 @@ include $(ADK_TOPDIR)/rules.mk PKG_NAME:= libnettle PKG_VERSION:= 3.1 -PKG_RELEASE:= 1 +PKG_RELEASE:= 2 PKG_HASH:= f6859d4ec88e70805590af9862b4b8c43a2d1fc7991df0a7a711b1e7ca9fc9d3 PKG_DESCR:= crypto library PKG_SECTION:= libs/crypto diff --git a/package/libnettle/patches/patch-Makefile_in b/package/libnettle/patches/patch-Makefile_in index d63bbdc56..fb5b2e914 100644 --- a/package/libnettle/patches/patch-Makefile_in +++ b/package/libnettle/patches/patch-Makefile_in @@ -1,8 +1,8 @@ ---- nettle-2.4.orig/Makefile.in 2011-09-03 14:51:07.000000000 +0200 -+++ nettle-2.4/Makefile.in 2012-04-03 15:14:44.000000000 +0200 -@@ -14,7 +14,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ - INSTALL_STRIP_PROGRAM = $(INSTALL_PROGRAM) -s - MKDIR_P = @MKDIR_P@ +--- nettle-3.1.orig/Makefile.in 2015-04-07 14:00:08.000000000 -0500 ++++ nettle-3.1/Makefile.in 2015-05-13 17:12:36.605171868 -0500 +@@ -17,7 +17,7 @@ OPT_HOGWEED_OBJS = @OPT_HOGWEED_OBJS@ + + OPT_NETTLE_SOURCES = @OPT_NETTLE_SOURCES@ -SUBDIRS = tools testsuite examples +SUBDIRS = tools testsuite diff --git a/package/libnettle/patches/patch-hogweed_pc_in b/package/libnettle/patches/patch-hogweed_pc_in new file mode 100644 index 000000000..85fe0489d --- /dev/null +++ b/package/libnettle/patches/patch-hogweed_pc_in @@ -0,0 +1,15 @@ +--- nettle-3.1.orig/hogweed.pc.in 2015-04-07 14:00:09.000000000 -0500 ++++ nettle-3.1/hogweed.pc.in 2015-05-14 02:43:51.148857825 -0500 +@@ -11,9 +11,9 @@ Name: Hogweed + Description: Nettle low-level cryptographic library (public-key algorithms) + URL: http://www.lysator.liu.se/~nisse/nettle + Version: @PACKAGE_VERSION@ +-Requires: @IF_NOT_SHARED@ nettle ++Requires: nettle + Requires.private: @IF_SHARED@ nettle +-Libs: -L${libdir} -lhogweed @IF_NOT_SHARED@ @LIBS@ +-Libs.private: @IF_SHARED@ @LIBS@ ++Libs: -L${libdir} -lhogweed @LIBS@ ++Libs.private: @LIBS@ + Cflags: -I${includedir} + -- cgit v1.2.3