unit language modules: add BDEP on www/unit/unit. not actually needed but

it stops trying to build modules if there was a problem with unit itself,
plus it pulls in any needed BDEPs. using this as a way to address missing
BDEP on pcre2 for modules (seen by aja@ and me) - configure script wants
it even when we're only building modules not unitd.
This commit is contained in:
sthen 2021-11-22 14:46:16 +00:00
parent 5b0853c6a2
commit 6eb550683d

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile.inc,v 1.1 2021/11/19 10:01:02 sthen Exp $
# $OpenBSD: Makefile.inc,v 1.2 2021/11/22 14:46:16 sthen Exp $
VERSION?= 1.26.0
DISTNAME= unit-${VERSION}
@ -39,6 +39,7 @@ UNIT_SHORTNAME?= ${UNIT_MODNAME}
COMMENT?= NGINX Unit ${UNIT_MODNAME} module
PKGNAME?= unit-${UNIT_SHORTNAME}-${VERSION}
FULLPKGNAME?= unit-${UNIT_SHORTNAME}-${VERSION}
BUILD_DEPENDS+= www/unit/unit=${VERSION}
RUN_DEPENDS+= www/unit/unit=${VERSION}
ALL_TARGET= ${UNIT_MODNAME}