1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Use IGNORE instead of FORBIDDEN, and check for !PACKAGE_BUILDING

This commit is contained in:
Kris Kennaway 2003-03-28 01:25:19 +00:00
parent 0807320391
commit 0278b0c912
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=77568

View File

@ -38,8 +38,8 @@ NO_PACKAGE= "Redistribution is restricted. Check ${DG_URL} for more info"
.include <bsd.port.pre.mk>
.if !(exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}))
FORBIDDEN="Commercial source download is restricted. Please visit and read ${DG_URL} and download ${DISTNAME}${EXTRACT_SUFX} into ${DISTDIR} before running make"
.if !(exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})) && !defined(PACKAGE_BUILDING)
IGNORE="Commercial source download is restricted. Please visit and read ${DG_URL} and download ${DISTNAME}${EXTRACT_SUFX} into ${DISTDIR} before running make"
.endif
post-install: