Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Makes default path for ports directory a build time configuration
Baptiste Daroussin committed 13 years ago
commit 9f0bc9f877ae78a036f8de61019eb866cd2ccd04
parent 9ce344b
1 file changed +4 -0
modified libpkg/pkg_config.c
@@ -79,7 +79,11 @@ static struct config_entry c[] = {
	[PKG_CONFIG_PORTSDIR] = {
		PKG_CONFIG_STRING,
		"PORTSDIR",
+
#ifdef PORTSDIR
+
		PORTSDIR,
+
#else
		"/usr/ports",
+
#endif
	},
	[PKG_CONFIG_REPOKEY] = {
		PKG_CONFIG_STRING,