summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2005-01-25 13:13:35 +0000
committerjmmv <jmmv@pkgsrc.org>2005-01-25 13:13:35 +0000
commitf70b9a4716db6bb15aedf97fbfae7f9a9c3d134c (patch)
tree4b3a8f6f36960e456b5c778322adfebcc0bf7858 /mk/bsd.pkg.mk
parent4aff0ffd5556d704143558c5b3b87c4a073eb07e (diff)
downloadpkgsrc-f70b9a4716db6bb15aedf97fbfae7f9a9c3d134c.tar.gz
Add alternatives.mk, a file used to manipulate the alternatives system.
A package can optionally provide an ALTERNATIVES file which contains pairs of wrapper/alternative, one per line. The file is then used by the install and deinstall scripts to register the alternatives and to create the appropriate wrappers. Make bsd.pkg.mk include this new file. This happens unconditionally to keep all the alternatives logic in an independent file. Otherwise, some of the stuff could have to be moved to bsd.pkg.mk, breaking consistency.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 87a0e0b4398..d3ad9cd1898 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1572 2005/01/24 19:57:42 tv Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1573 2005/01/25 13:13:35 jmmv Exp $
#
# This file is in the public domain.
#
@@ -749,6 +749,10 @@ USE_MAKEINFO?= no # default to not using makeinfo
. include "../../mk/texinfo.mk"
.endif
+# Handle alternatives
+#
+.include "../../mk/alternatives.mk"
+
# CONF_DEPENDS notes a dependency where the config directory for the
# package matches the dependency's config directory. CONF_DEPENDS is
# only meaningful if ${PKG_INSTALLATION_TYPE} == "pkgviews".