diff options
author | Rosen Penev <rosenp@gmail.com> | 2019-04-22 11:24:53 -0700 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2019-04-22 18:39:18 -0700 |
commit | 27cf721a3597c82f8e7962d796bbfe0acc3740b7 (patch) | |
tree | 7927e2cd08f61cc5f14e78a5831f78f06ecce3e3 /net/znc/Makefile | |
parent | 63f30bcf6b4b8ce9f820c198797b38c32c913620 (diff) |
znc: Clean up Makefile and fix compilation on PPC
Some of these hacks were needed when uClibc++ was used. Now that it is not
we can remove them.
Remove libpthread dependency. Not only is it unneeded, package-defaults
already specifies it.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'net/znc/Makefile')
-rw-r--r-- | net/znc/Makefile | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/net/znc/Makefile b/net/znc/Makefile index bbaba2213..efc980599 100644 --- a/net/znc/Makefile +++ b/net/znc/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=znc PKG_VERSION:=1.7.3 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://znc.in/releases \ @@ -37,7 +37,7 @@ endef define Package/znc $(Package/znc/default) - DEPENDS:=+libopenssl +libpthread +libstdcpp +ZNC_ICU:icu +zlib + DEPENDS:=+libopenssl +libstdcpp +ZNC_ICU:icu +zlib MENU:=1 endef @@ -279,12 +279,6 @@ PKG_CONFIG_DEPENDS += $(patsubst %,CONFIG_PACKAGE_%,$(ZNC_MODULES)) include $(INCLUDE_DIR)/package.mk -CONFIGURE_VARS += \ - CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin" \ - CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \ - LDFLAGS="-nodefaultlibs -lc -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \ - LIBS="-lstdc++ -lm -lssl -lcrypto $(LIBGCC_S) -lc" - CONFIGURE_ARGS += \ $(if $(CONFIG_ZNC_ICU), --enable-charset, --disable-charset) \ --disable-cyrus \ @@ -299,11 +293,6 @@ CONFIGURE_ARGS += \ --enable-tdns \ --enable-zlib -define Build/Configure - $(call Build/Configure/Default,) - $(call libtool_disable_rpath) -endef - define Build/Compile $(call Build/Compile/Default,znc) +$(MAKE_VARS) $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)/modules \ |