summaryrefslogtreecommitdiffstats
path: root/package/gnutls
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-08-18 08:18:15 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-08-18 08:18:15 +0000
commit33661daa66489f71f6683a8886b2e7c5177c8a3c (patch)
treece4450ec57f3e48009f0662a4fd20cf958ece86e /package/gnutls
parent64025deecfa44793296d2b125178d36b90c453d8 (diff)
do not depend on external opencdk (not used) and libtasn1, use bundled version instead,
set common lib searchpath git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1695 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/gnutls')
-rw-r--r--package/gnutls/Config.in6
-rw-r--r--package/gnutls/Makefile9
-rw-r--r--package/gnutls/ipkg/libgnutls.control2
3 files changed, 7 insertions, 10 deletions
diff --git a/package/gnutls/Config.in b/package/gnutls/Config.in
index a3d72e4f6..146820514 100644
--- a/package/gnutls/Config.in
+++ b/package/gnutls/Config.in
@@ -1,4 +1,4 @@
-config BR2_PACKAGE_GNUTLS
+config BR2_COMPILE_GNUTLS
bool
default n
depends BR2_PACKAGE_LIBGNUTLS
@@ -7,10 +7,8 @@ config BR2_PACKAGE_LIBGNUTLS
tristate "libgnutls - The GNU TLS library"
# default m if CONFIG_DEVEL
default n
- select BR2_PACKAGE_GNUTLS
+ select BR2_COMPILE_GNUTLS
select BR2_PACKAGE_LIBGCRYPT
- select BR2_PACKAGE_LIBOPENCDK
- select BR2_PACKAGE_LIBTASN1
help
GnuTLS is a project that aims to develop a library which provides a
secure layer, over a reliable transport layer. Currently the GnuTLS
diff --git a/package/gnutls/Makefile b/package/gnutls/Makefile
index fdb3b13b0..3e8a31ea9 100644
--- a/package/gnutls/Makefile
+++ b/package/gnutls/Makefile
@@ -35,7 +35,7 @@ $(PKG_BUILD_DIR)/.configured:
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
- LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
+ LDFLAGS="-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib" \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
@@ -62,10 +62,9 @@ $(PKG_BUILD_DIR)/.configured:
--disable-srp-authentication \
--disable-anon-authentication \
--disable-openpgp-authentication \
- --with-libgcrypt-prefix="$(STAGING_DIR)/usr" \
- --with-libopencdk-prefix="$(STAGING_DIR)/usr" \
- --with-libtasn1-prefix="$(STAGING_DIR)/usr" \
- --with-included-libcfg \
+ --with-included-opencdk=yes \
+ --with-included-libtasn1=yes \
+ --with-included-libcfg=yes \
--without-zlib \
--without-lzo \
);
diff --git a/package/gnutls/ipkg/libgnutls.control b/package/gnutls/ipkg/libgnutls.control
index 824a153e7..edd3dd63e 100644
--- a/package/gnutls/ipkg/libgnutls.control
+++ b/package/gnutls/ipkg/libgnutls.control
@@ -6,4 +6,4 @@ Architecture: [TBDL]
Maintainer: OpenWrt Developers Team <bugs@openwrt.org>
Source: http://openwrt.org/cgi-bin/viewcvs.cgi/openwrt/package/gnutls/
Description: GNU TLS library
-Depends: libgcrypt, libopencdk, libtasn1
+Depends: libgcrypt