Browse Source

Merge pull request #17058 from cotequeiroz/gnutls

gnutls: don't run aclocal --install
lilik-openwrt-22.03
Nikos Mavrogiannopoulos 3 years ago
committed by GitHub
parent
commit
e7b21be6fa
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 1 deletions
  1. +1
    -1
      libs/gnutls/Makefile
  2. +25
    -0
      libs/gnutls/patches/020-dont-install-m4-files.patch

+ 1
- 1
libs/gnutls/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=gnutls
PKG_VERSION:=3.7.1
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_USE_MIPS16:=0
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz


+ 25
- 0
libs/gnutls/patches/020-dont-install-m4-files.patch View File

@ -0,0 +1,25 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Eneas U de Queiroz <cote2004-github@yahoo.com>
Date: Mon, 25 Oct 2021 08:49:21 -0300
Subject: Do not install m4 files
Do not use --install when calling aclocal. That flag instructs aclocal to
copy third-party files to the first -I directory. The intention here is to
copy files to the package build dir (m4). However, our toolchain prepends
the build-system's m4 dir to the list, causing the --install flag to
install an older version to the buildsystem m4 dir, causing failures in
other packages.
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
--- a/Makefile.am
+++ b/Makefile.am
@@ -57,7 +57,7 @@ if ENABLE_DOC
SUBDIRS += doc
endif
-ACLOCAL_AMFLAGS = -I m4 -I src/libopts/m4 -I src/gl/m4 -I lib/unistring/m4 --install
+ACLOCAL_AMFLAGS = -I m4 -I src/libopts/m4 -I src/gl/m4 -I lib/unistring/m4
EXTRA_DIST = cfg.mk maint.mk CONTRIBUTING.md README.md LICENSE AUTHORS NEWS \
ChangeLog THANKS INSTALL.md RELEASES.md

Loading…
Cancel
Save