commit bdd898693bf695b18c8dbef1d3d372e17cd4f51f
parent f82b11bde4a2d606e2d084485ea9d4f51ce44b32
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 17 Jun 2014 21:44:54 +0200
pkgtools: fix build against latest git
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
Diffstat:
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/pkgtools/pkgtools.mk b/pkgtools/pkgtools.mk
@@ -4,10 +4,10 @@ DEPS = libarchive zlib
<$mkbuild/mk.common-noinst
pkgtools:QV:
- export CFLAGS="$CFLAGS $DEPS_CFLAGS"
+ export CFLAGS="$CFLAGS $DEPS_CFLAGS -DVERSION=\\\"$v\\\""
export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS"
make -j$nprocs CC="${CC} -static" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
- PREFIX="$PREFIX" DESTDIR="$ROOT"
+ PREFIX="$PREFIX"
install:QV:
make -j$nprocs install CC="${CC} -static" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
diff --git a/pkgtools/v.mk b/pkgtools/v.mk
@@ -0,0 +1 @@
+v = 0.3