What was sufficient to get sysutils/u-boot-tools to build a 2022.04 vintage
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 19 Apr 2022 02:32:06 UTC
I've abandoned the overall experiment that lead to building an
updated sysutils/u-boot-tools (in preparation for the experiment).
But I figured that, for future reference, I'd report what was
sufficient to allow the build:
# git -C /usr/ports diff sysutils/u-boot-tools/
diff --git a/sysutils/u-boot-tools/Makefile b/sysutils/u-boot-tools/Makefile
index 62ade2765607..28813f0032f2 100644
--- a/sysutils/u-boot-tools/Makefile
+++ b/sysutils/u-boot-tools/Makefile
@@ -1,7 +1,7 @@
# Created by: Emmanuel Vadot <manu@freebsd.org>
PORTNAME= u-boot-tools
-DISTVERSION= 2020.07
+DISTVERSION= 2022.04
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.denx.de/pub/u-boot/
DISTNAME= u-boot-${PORTVERSION}
@@ -14,6 +14,9 @@ LICENSE= GPLv2
BROKEN_SSL= libressl
BROKEN_SSL_REASON_libressl= not supported by the upstream
+BUILD_DEPENDS= gnutls>0:security/gnutls \
+ e2fsprogs-libuuid>0:misc/e2fsprogs-libuuid
+
USES= bison compiler:c11 gmake python:build ssl tar:bzip2
CONFLICTS= uboot-mkimage
@@ -23,6 +26,7 @@ MAKE_ARGS= ARCH=sandbox \
HOSTCC="${CC}" \
KBUILD_VERBOSE=1 \
NOSTDINC_FLAGS="" \
+ HOSTCFLAGS="-I${LOCALBASE}/include -L${LOCALBASE}/lib"
PLIST_FILES= bin/mkimage bin/mkenvimage bin/dumpimage bin/fit_info
diff --git a/sysutils/u-boot-tools/distinfo b/sysutils/u-boot-tools/distinfo
index 7556c3f85224..edb5af20acd7 100644
--- a/sysutils/u-boot-tools/distinfo
+++ b/sysutils/u-boot-tools/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1594115686
-SHA256 (u-boot-2020.07.tar.bz2) = c1f5bf9ee6bb6e648edbf19ce2ca9452f614b08a9f886f1a566aa42e8cf05f6a
-SIZE (u-boot-2020.07.tar.bz2) = 15338841
+TIMESTAMP = 1650330735
+SHA256 (u-boot-2022.04.tar.bz2) = 68e065413926778e276ec3abd28bb32fa82abaa4a6898d570c1f48fbdb08bcd0
+SIZE (u-boot-2022.04.tar.bz2) = 17772787
portlint had no new messages. poudriere testport looked to
be okay with it on amd64 and aarch64. For reference:
=>> Checking shared library dependencies
0x0000000000000001 NEEDED Shared library: [libc.so.7]
0x0000000000000001 NEEDED Shared library: [libcrypto.so.111]
0x0000000000000001 NEEDED Shared library: [libssl.so.111]
The HOSTCFLAGS use does result in a bunch of messages:
cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument]
but the -L was sometimes used.
I did not install and test the build before abandoning
the overall experiment.
===
Mark Millard
marklmi at yahoo.com