allows a mode FAKE=all where BUILD_DEPENDS get also installed under
DEPDIR.
This commit is contained in:
parent
b85bbe9d1a
commit
8ae9d49345
@ -1,6 +1,6 @@
|
||||
#-*- mode: Makefile; tab-width: 4; -*-
|
||||
# ex:ts=4 sw=4 filetype=make:
|
||||
# $OpenBSD: bsd.port.mk,v 1.693 2005/04/21 01:44:50 alek Exp $
|
||||
# $OpenBSD: bsd.port.mk,v 1.694 2005/04/23 14:31:38 espie Exp $
|
||||
# $FreeBSD: bsd.port.mk,v 1.264 1996/12/25 02:27:44 imp Exp $
|
||||
# $NetBSD: bsd.port.mk,v 1.62 1998/04/09 12:47:02 hubertf Exp $
|
||||
#
|
||||
@ -1068,7 +1068,7 @@ _lib_depends_fragment = \
|
||||
found=true; \
|
||||
fi
|
||||
|
||||
.if ${FAKE:L} == "lib" && ${USE_FAKE_LIB:L} == "yes"
|
||||
.if (${FAKE:L} == "lib" || ${FAKE:L} == "all") && ${USE_FAKE_LIB:L} == "yes"
|
||||
PORT_LD_LIBRARY_PATH=${DEPBASE}/lib:${X11BASE}/lib:/usr
|
||||
MAKE_ENV+=LD_LIBRARY_PATH=${PORT_LD_LIBRARY_PATH}
|
||||
CONFIGURE_ENV+=LD_LIBRARY_PATH=${PORT_LD_LIBRARY_PATH}
|
||||
@ -1078,10 +1078,13 @@ _lib_depends_target=fake
|
||||
.else
|
||||
DEPBASE=${LOCALBASE}
|
||||
DEPDIR=
|
||||
_lib_depends_target=${DEPENDS_TARGET}
|
||||
.endif
|
||||
.if ${FAKE:L} == "all"
|
||||
_build_depends_target=fake
|
||||
.endif
|
||||
|
||||
_build_depends_target=${DEPENDS_TARGET}
|
||||
_lib_depends_target?=${DEPENDS_TARGET}
|
||||
_build_depends_target?=${DEPENDS_TARGET}
|
||||
_run_depends_target=${DEPENDS_TARGET}
|
||||
_regress_depends_target=${DEPENDS_TARGET}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user