add top-level directory `mystuff' to be used by porters for stuff they
haven't committed yet. The nice part is that dependencies get transparently resolved to mystuff/dir if they aren't found in dir.
This commit is contained in:
parent
4250e06cf7
commit
fb319b058a
5
Makefile
5
Makefile
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.34 2001/11/12 14:17:33 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.35 2001/11/12 14:19:17 espie Exp $
|
||||
# $FreeBSD: Makefile,v 1.36 1997/10/04 15:54:31 jkh Exp $
|
||||
#
|
||||
|
||||
@ -58,6 +58,9 @@ SUBDIR += textproc
|
||||
#SUBDIR += vietnamese
|
||||
SUBDIR += www
|
||||
SUBDIR += x11
|
||||
. if exists(mystuff) && !make(describe)
|
||||
SUBDIR += mystuff
|
||||
. endif
|
||||
.endif
|
||||
|
||||
PORTSTOP?= yes
|
||||
|
@ -1,6 +1,6 @@
|
||||
#-*- mode: Fundamental; tab-width: 4; -*-
|
||||
# ex:ts=4 sw=4 filetype=make:
|
||||
FULL_REVISION=$$OpenBSD: bsd.port.mk,v 1.493 2001/11/12 14:14:46 espie Exp $$
|
||||
FULL_REVISION=$$OpenBSD: bsd.port.mk,v 1.494 2001/11/12 14:19:17 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 $
|
||||
#
|
||||
@ -1219,7 +1219,7 @@ _flavor_fragment= \
|
||||
echo 1>&2 ">> Broken dependency: $$dir is a symbolic link"; \
|
||||
exit 1; \
|
||||
fi; \
|
||||
if cd $$dir 2>/dev/null; then \
|
||||
if cd $$dir 2>/dev/null || cd mystuff/$$dir 2>/dev/null; then \
|
||||
:; \
|
||||
else \
|
||||
echo 1>&2 ">> Broken dependency: $$dir non existent"; \
|
||||
|
Loading…
Reference in New Issue
Block a user