ports

morpheus ports
git clone git://git.2f30.org/ports.git
Log | Files | Refs | LICENSE

commit 8ce6afe72a42c41d353fa621951b2274f186b3cf
parent 4c033fa1638db600b8049b9e082bfe104213c0d9
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Mon, 19 May 2014 17:01:47 +0200

bzip2: make static, improve patch and install

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>

Diffstat:
bzip2/bzip2.mk | 11+++++++----
1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/bzip2/bzip2.mk b/bzip2/bzip2.mk @@ -1,12 +1,15 @@ TARG = bzip2 +INSTALL_BIN = bzip2 bzip2recover bzgrep bzmore bzdiff +INSTALL_MAN1 = `ls -1 *.1` -<$mkbuild/mk.common-noinst +<$mkbuild/mk.common bzip2:QV: # borrowed from Crux linux. - patch -Np1 -i ../bzip2.patch + patch --silent --dry-run -N -p1 < ../bzip2.patch && \ + patch -Np1 < ../bzip2.patch # make everything except doing tests. # NOTE: don't use DESTDIR, it's not used in the Makefile. make libbz2.a bzip2 bzip2recover -j$nprocs \ - CC="${CC}" AR="${AR}" RANLIB="${RANLIB}" \ - PREFIX="$prefix" + CC="${CC} -static" LDFLAGS="$LDFLAGS" AR="${AR}" \ + RANLIB="${RANLIB}" PREFIX="$prefix"