mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 23:48:39 +01:00
tcp_wrappers: fix compilation under glibc
libnsl seems to not be a library that comes with glibc. Remove excess whitespace. Refresh patches. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=tcp_wrappers
|
||||
PKG_VERSION:=7.6
|
||||
PKG_RELEASE:=3
|
||||
PKG_RELEASE:=4
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=ftp://ftp.porcupine.org/pub/security
|
||||
@@ -32,11 +32,7 @@ endef
|
||||
|
||||
TARGET_CFLAGS += $(FPIC) -Wall
|
||||
|
||||
ifeq ($(CONFIG_USE_MUSL),)
|
||||
TARGET_EXTRA_LIBS:=LIBS=-lnsl
|
||||
endif
|
||||
|
||||
define Build/Compile
|
||||
define Build/Compile
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
OPT_CFLAGS="$(TARGET_CFLAGS)" \
|
||||
@@ -53,7 +49,7 @@ define Build/Compile
|
||||
tidy all
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(1)/usr/include
|
||||
$(CP) $(PKG_BUILD_DIR)/tcpd.h $(1)/usr/include/
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
@@ -61,9 +57,9 @@ define Build/InstallDev
|
||||
$(CP) $(PKG_BUILD_DIR)/shared/libwrap.so* $(1)/usr/lib/
|
||||
endef
|
||||
|
||||
define Package/libwrap/install
|
||||
define Package/libwrap/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) $(PKG_BUILD_DIR)/shared/libwrap.so.* $(1)/usr/lib/
|
||||
endef
|
||||
|
||||
|
||||
$(eval $(call BuildPackage,libwrap))
|
||||
|
||||
Reference in New Issue
Block a user