summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-05-14 05:49:26 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-05-14 05:50:21 -0500
commita476c68cfdf5b37b783bd8cefea3e6021e857f2c (patch)
tree61281fd04c81467899140f3d94707282be841062 /package
parent95995b14f48834a87cab5dd7ba3ac3482fb3598f (diff)
fix nettle pkconfig file
Diffstat (limited to 'package')
-rw-r--r--package/libnettle/Makefile2
-rw-r--r--package/libnettle/patches/patch-Makefile_in10
-rw-r--r--package/libnettle/patches/patch-hogweed_pc_in15
3 files changed, 21 insertions, 6 deletions
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}
+