[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Lzip configure and Makefile patch

From: Jeffrey Walton
Subject: Lzip configure and Makefile patch
Date: Mon, 30 Mar 2020 02:15:42 -0400

Hi Everyone,

Wget2 is in testing. Wget2 uses lzip so I need lzip for testing. I am
building the 1.21 release tarball from sources on platforms like OS X
and Solaris.

I like lzip. It is a small package with no dependencies. It is easy to
build. I found I needed to make a small change because I set my
variables like CXX and CXXFLAGS in the environment.

The change below looks for implicit variables in the environment. If
found they are used. If not found then the configure script's values
are used. The patch includes additional two small changes. First,
SHELL=/bin/sh was moved to the first line per GNU Coding Standards.
Second, variables like "${option}" was quoted due to Shellcheck

Using variables in the environment may not seem like a big change, but
it makes a difference when build 60 or 80 packages. When I need to
build a bunch of packages, it is very helpful when variables are set
once in the environment and everything "just works" like Autotools.

Thanks again for an easy to use package.

Attachment: lzip.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]