Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Makes default path for ports directory a build time configuration
Baptiste Daroussin committed 13 years ago
commit 9f0bc9f877ae78a036f8de61019eb866cd2ccd04
parent 9ce344b2935d4b338c9afd81af7f5cafe22080c6
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,