diff options
author | Roy Marples <roy@marples.name> | 2008-01-03 17:24:52 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-01-03 17:24:52 +0000 |
commit | 04c8a3ad6ceb9b08e9bc5870e6674b7ab253a38e (patch) | |
tree | 819cbcac3108c8b628c8cee6e6fe30312a816425 /sys-apps/openrc/openrc-9999.ebuild | |
parent | Add warning about the deprecated /etc/modules.autoload.d directory (diff) | |
download | uberlord-04c8a3ad6ceb9b08e9bc5870e6674b7ab253a38e.tar.gz uberlord-04c8a3ad6ceb9b08e9bc5870e6674b7ab253a38e.tar.bz2 uberlord-04c8a3ad6ceb9b08e9bc5870e6674b7ab253a38e.zip |
Adjust branding
Diffstat (limited to 'sys-apps/openrc/openrc-9999.ebuild')
-rw-r--r-- | sys-apps/openrc/openrc-9999.ebuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys-apps/openrc/openrc-9999.ebuild b/sys-apps/openrc/openrc-9999.ebuild index f99ccd5..ef43233 100644 --- a/sys-apps/openrc/openrc-9999.ebuild +++ b/sys-apps/openrc/openrc-9999.ebuild @@ -35,11 +35,15 @@ pkg_setup() { make_opts() { local opts="${opts} LIB=${LIBDIR}" + local brand="Unknown" if use kernel_linux; then opts="${opts} OS=Linux" + brand="Linux" else opts="${opts} OS=BSD" + use kernel_FreeBSD && brand="FreeBSD" fi + [ -n "${brand}" ] && opts="${opts} BRANDING=Gentoo/${brand}" use ncurses && opts="${opts} TERMCAP=ncurses" use pam && opts="${opts} PAM=pam" @@ -68,9 +72,6 @@ src_compile() { # Brand OpenRC, give users warm fuzzies local os="" - use kernel_linux && os="/Linux" - use kernel_FreeBSD && os="/FreeBSD" - append-flags "-DBRANDING=\\\"Gentoo${os}\\\"" emake $(make_opts) CC=$(tc-getCC) depend || die emake $(make_opts) CC=$(tc-getCC) || die |