diff options
author | asami <asami@FreeBSD.org> | 1997-11-20 05:33:56 +0000 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1997-11-20 05:33:56 +0000 |
commit | aae112eddcc845f15f9a0b87b036d6eec5a63464 (patch) | |
tree | d655c17561dfa0a920e36322cd63d43fd181189c /share/mk/bsd.port.mk | |
parent | b520e8c172d52e26b828212589ce96401eb635b8 (diff) | |
download | FreeBSD-src-aae112eddcc845f15f9a0b87b036d6eec5a63464.zip FreeBSD-src-aae112eddcc845f15f9a0b87b036d6eec5a63464.tar.gz |
Define MASTER_SITE_SUBDIR and PATCH_SITE_SUBDIR to default to "." so
we won't have double-slashes.
Add support for new port variable MANUAL_PACKAGE_BUILD. If this is
defined as well as the user variable PACKAGE_BUILDING, the port will
be ignored. This is used to mark ports that can be built normally
except on a machine that has a lot of conflicting ports (i.e., our
package building machine).
Diffstat (limited to 'share/mk/bsd.port.mk')
-rw-r--r-- | share/mk/bsd.port.mk | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/share/mk/bsd.port.mk b/share/mk/bsd.port.mk index a9d878f..42b529e 100644 --- a/share/mk/bsd.port.mk +++ b/share/mk/bsd.port.mk @@ -1,7 +1,7 @@ #-*- mode: Fundamental; tab-width: 4; -*- # ex:ts=4 # -# $Id: bsd.port.mk,v 1.265 1997/10/08 05:04:48 asami Exp $ +# $Id: bsd.port.mk,v 1.266 1997/11/12 10:25:17 markm Exp $ # $NetBSD: $ # # bsd.port.mk - 940820 Jordan K. Hubbard. @@ -564,6 +564,10 @@ MASTER_SITE_SUNSITE+= \ MASTER_SITES?= PATCH_SITES?= +# To avoid double-slashes +MASTER_SITE_SUBDIR?= . +PATCH_SITE_SUBDIR?= . + # Substitute subdirectory names MASTER_SITES:= ${MASTER_SITES:S/%SUBDIR%/${MASTER_SITE_SUBDIR}/} PATCH_SITES:= ${PATCH_SITES:S/%SUBDIR%/${PATCH_SITE_SUBDIR}/} @@ -748,6 +752,12 @@ IGNORE= "uses X11, but ${X11BASE} not found" IGNORE= "is marked as broken: ${BROKEN}" .endif +.if (defined(MANUAL_PACKAGE_BUILD) && defined(PACKAGE_BUILDING)) +IGNORE= "package has to be built manually: ${MANUAL_PACKAGE_BUILD}" +clean: + @${IGNORECMD} +.endif + .if defined(IGNORE) .if defined(IGNORE_SILENT) IGNORECMD= ${DO_NADA} |