File: gar.conf.mk
base-0 patch-1
Line 15Line 15
COLOR_GAR ?= yes

COLOR_GAR ?= yes


# changing this to "yes" will cause the GAR build to use the
# "stow" utility to merge packages into the system tree using
# symlinks.

USE_STOW ?= no
STOW_PREFIX ?= $(prefix)/stow/

# Setting this variable will cause the results of your builds to
# be cleaned out after being installed. Uncomment only if you
# desire this behavior!
# Setting this variable will cause the results of your builds to
# be cleaned out after being installed. Uncomment only if you
# desire this behavior!
Line 118Line 125
build_GARCH := $(shell arch)
build_GARHOST := $(GARBUILD)

build_GARCH := $(shell arch)
build_GARHOST := $(GARBUILD)

# Exclude specific packages as dependencies in specific DESTIMGs
main_NODEPEND = devel/glibc devel/gcc-primitives lib/libstdc++
build_NODEPEND = devel/glibc devel/gcc-primitives
# Assume that the build system has support for the C and C++ languages and test
# for perl. Would check for python, too, but python needs to builddep itself.
build_NODEPEND += lang/c lang/c++
build_NODEPEND += $(if $(shell which perl),lang/perl,)

# Assume the same of main, also check for python
main_NODEPEND += lang/c lang/c++
main_NODEPEND += $(if $(shell which perl),lang/perl,)
main_NODEPEND += $(if $(shell which python),lang/python,)

# Most stuff is written in C, so SOURCE_LANGUAGES will default to that
SOURCE_LANGUAGES ?= c

# Profiles other than LNX-BBC should override this in the environment
LNX_FLAVOR ?= bbc
# This is for foo-config chaos
PKG_CONFIG_PATH=$(DESTDIR)$(libdir)/pkgconfig/
# This is for foo-config chaos
PKG_CONFIG_PATH=$(DESTDIR)$(libdir)/pkgconfig/
Line 131Line 150
STAGE_EXPORTS += sysconfdir sharedstatedir localstatedir libdir infodir lispdir
STAGE_EXPORTS += includedir mandir docdir sourcedir
STAGE_EXPORTS += CPPFLAGS CFLAGS LDFLAGS
STAGE_EXPORTS += sysconfdir sharedstatedir localstatedir libdir infodir lispdir
STAGE_EXPORTS += includedir mandir docdir sourcedir
STAGE_EXPORTS += CPPFLAGS CFLAGS LDFLAGS
STAGE_EXPORTS += CC CXX LD RANLIB AS AR #CPP
STAGE_EXPORTS += CC CXX CPP LD RANLIB AS AR
CONFIGURE_ENV += $(foreach TTT,$(STAGE_EXPORTS),$(TTT)="$($(TTT))")
BUILD_ENV += $(foreach TTT,$(STAGE_EXPORTS),$(TTT)="$($(TTT))")
CONFIGURE_ENV += $(foreach TTT,$(STAGE_EXPORTS),$(TTT)="$($(TTT))")
BUILD_ENV += $(foreach TTT,$(STAGE_EXPORTS),$(TTT)="$($(TTT))")