Process RECOMMENDED *after* including bsd.buildlink3.mk; else it has no

real effect at all.
This commit is contained in:
tv 2004-08-24 00:27:13 +00:00
parent e9c00e23b6
commit 6ae0f5c2f9

View file

@ -1,4 +1,4 @@
# $NetBSD: bsd.pkg.mk,v 1.1491 2004/08/17 17:48:11 tv Exp $
# $NetBSD: bsd.pkg.mk,v 1.1492 2004/08/24 00:27:13 tv Exp $
#
# This file is in the public domain.
#
@ -419,14 +419,6 @@ _DUMP_LIBTOOL_LA_FILES?=${TRUE}
BUILD_DEPENDS+= gettext>=0.10.35nb1:../../devel/gettext
.endif
.if defined(RECOMMENDED)
. if !empty(IGNORE_RECOMMENDED:M[nN][oO])
DEPENDS+= ${RECOMMENDED}
. else
BUILD_DEFS+= IGNORE_RECOMMENDED
. endif
.endif
EXTRACT_COOKIE= ${WRKDIR}/.extract_done
BUILDLINK_COOKIE= ${WRKDIR}/.buildlink_done
CONFIGURE_COOKIE= ${WRKDIR}/.configure_done
@ -1231,6 +1223,14 @@ NO_BUILDLINK= # defined
. endif
.endif
.if defined(RECOMMENDED)
. if !empty(IGNORE_RECOMMENDED:M[nN][oO])
DEPENDS+= ${RECOMMENDED}
. else
BUILD_DEFS+= IGNORE_RECOMMENDED
. endif
.endif
.if defined(USE_DIRS) && !empty(USE_DIRS) && \
${PKG_INSTALLATION_TYPE} == "overwrite"
. include "../../mk/dirs.mk"