head 1.2; access; symbols; locks; strict; comment @# @; 1.2 date 2023.06.15.10.03.34; author riastradh; state dead; branches; next 1.1; commitid ScOL90Wk5ZSFN1tE; 1.1 date 2023.06.14.11.07.42; author riastradh; state Exp; branches; next ; commitid cm1JuSQHj7IFbUsE; desc @@ 1.2 log @archivers/lz4: Remove cross-compilation patch; make different target. The `all' target apparently includes things that aren't necessary for the build products we expect. Just use an empty target so that make selects the first one in the makefile, which according to https://github.com/lz4/lz4/issues/1240 is the reasonable choice here. No change to the build products that are installed -- this just makes lz4 build fewer things. @ text @$NetBSD: patch-contrib_gen__manual_Makefile,v 1.1 2023/06/14 11:07:42 riastradh Exp $ Handle cross-compilation. --- contrib/gen_manual/Makefile.orig 2022-08-15 22:45:31.000000000 +0000 +++ contrib/gen_manual/Makefile @@@@ -56,8 +56,9 @@@@ endif .PHONY: default default: gen_manual +CXX_FOR_BUILD = $(CXX) gen_manual: gen_manual.cpp - $(CXX) $(FLAGS) $^ -o $@@$(EXT) + $(CXX_FOR_BUILD) $(FLAGS) $^ -o $@@$(EXT) $(LZ4MANUAL) : gen_manual $(LZ4API) echo "Update lz4 manual in /doc" @ 1.1 log @archivers/lz4: Fix cross-compilation. @ text @d1 1 a1 1 $NetBSD$ @