New configuration scheme changes, round 1.
- Configuration file 'xbps-conf.plist' has been splitted off into two files: conf.plist and repositories.plist. By default they are stored in etc/xbps. - Changed some members in xbps_handle struct, mostly to make it easy to change its value in {cache,root}dir and conffile. - Made xbps_init() release proplib objects as soon as we don't need them, that way it uses 35% less of memory or in some cases even more. There will be another commit that will implement to read new virtualpkg settings by the user, as specified in: http://code.google.com/p/xbps/issues/detail?id=12
This commit is contained in:
4
configure
vendored
4
configure
vendored
@@ -136,6 +136,8 @@ echo "INCLUDEDIR ?= $INCLUDEDIR" >>$CONFIG_MK
|
||||
echo "LIBDIR ?= $LIBDIR" >>$CONFIG_MK
|
||||
echo "MANDIR ?= $MANDIR" >>$CONFIG_MK
|
||||
echo "SHAREDIR ?= $SHAREDIR" >>$CONFIG_MK
|
||||
|
||||
ETCDIR="${ETCDIR}/xbps"
|
||||
echo "ETCDIR ?= $ETCDIR" >>$CONFIG_MK
|
||||
|
||||
[ -z "$DEBUG" ] && DEBUG=no
|
||||
@@ -172,7 +174,7 @@ if [ -n "$LDFLAGS" ]; then
|
||||
fi
|
||||
echo "CPPFLAGS = -I. -I\$(TOPDIR) -I\$(TOPDIR)/include" >>$CONFIG_MK
|
||||
echo "CPPFLAGS += -DHAVE_CONFIG_H" >>$CONFIG_MK
|
||||
echo "CPPFLAGS += -DXBPS_CONF_PATH=\\\"${ETCDIR}\\\"" >>$CONFIG_MK
|
||||
echo "CPPFLAGS += -DXBPS_SYSCONF_PATH=\\\"${ETCDIR}\\\"" >>$CONFIG_MK
|
||||
|
||||
if [ -n "$DEBUG" -a "$DEBUG" != no -a "$DEBUG" != false ]; then
|
||||
echo "Building with debugging symbols."
|
||||
|
Reference in New Issue
Block a user