pass shared library version in REGRESS_FLAGS, otherwise regress target

rebuilds it without version number.

ok sturm@
This commit is contained in:
steven 2006-02-03 20:00:33 +00:00
parent a7079dd0e5
commit 91da0dbeab

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.52 2005/12/23 13:57:21 espie Exp $ # $OpenBSD: Makefile,v 1.53 2006/02/03 20:00:33 steven Exp $
COMMENT= "block-sorting file compressor, unencumbered" COMMENT= "block-sorting file compressor, unencumbered"
@ -22,9 +22,10 @@ BZ2_CFLAGS= -Wall -Winline
BZ2_CFLAGS+= -fomit-frame-pointer -fno-strength-reduce BZ2_CFLAGS+= -fomit-frame-pointer -fno-strength-reduce
.endif .endif
MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS} ${BZ2_CFLAGS}" LIBbz2_VERSION=${LIBbz2_VERSION} PREFIX=${TRUEPREFIX} MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS} ${BZ2_CFLAGS}" \
FAKE_FLAGS=${MAKE_FLAGS} DESTDIR=${WRKINST} LIBbz2_VERSION=${LIBbz2_VERSION} PREFIX=${TRUEPREFIX}
REGRESS_FLAGS= LD_LIBRARY_PATH="${WRKBUILD}" FAKE_FLAGS= ${MAKE_FLAGS} DESTDIR=${WRKINST}
REGRESS_FLAGS= LD_LIBRARY_PATH="${WRKBUILD}" LIBbz2_VERSION=${LIBbz2_VERSION}
REGRESS_TARGET= test REGRESS_TARGET= test