gnutls: cleanup old code 961/head 987/head
authorDirk Neukirchen <dirkneukirchen@web.de>
Thu, 19 Feb 2015 18:04:57 +0000 (19:04 +0100)
committerDirk Neukirchen <dirkneukirchen@web.de>
Wed, 4 Mar 2015 09:36:27 +0000 (10:36 +0100)
- rpath is not necessary (buildroot does not use it too)
- SED of paths in configure does not seem needed (from pre 3.x version)
- remove configure section

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
libs/gnutls/Makefile

index 4efe5c3a2d423c5be87b77fd20af9e314747b890..87cb554721ed03107f53b696bc610e88e18c5ad7 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=gnutls
 PKG_VERSION:=3.3.13
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 PKG_USE_MIPS16:=0
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
@@ -114,6 +114,7 @@ endef
 CONFIGURE_ARGS+= \
        --enable-shared \
        --enable-static \
+       --disable-rpath \
        --disable-libdane \
        --disable-guile \
        --disable-nls \
@@ -175,13 +176,6 @@ CONFIGURE_ARGS += --enable-cryptodev
 endif
 
 TARGET_CFLAGS += $(FPIC)
-TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
-
-define Build/Configure
-       $(SED) 's,-I$$$${includedir},,g' $(PKG_BUILD_DIR)/configure
-       $(SED) 's,-L$$$${libdir},,g' $(PKG_BUILD_DIR)/configure
-       $(call Build/Configure/Default)
-endef
 
 define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib/pkgconfig