From ecf77254bbacf5b53d940a738ea6cdc569a28958 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Mon, 17 Oct 2011 20:18:39 -0500 Subject: consolodate Makefiles The tree contained many operating system specific Makefiles which were being included in other Makefiles. This commit removes those and adds the code to the makefiles which included them using make's conditional processing. X-Gentoo-Bug: 387441 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=387441 --- init.d.misc/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'init.d.misc/Makefile') diff --git a/init.d.misc/Makefile b/init.d.misc/Makefile index 2b2a51ba..b44063cc 100644 --- a/init.d.misc/Makefile +++ b/init.d.misc/Makefile @@ -8,4 +8,11 @@ MK= ../mk SED_EXTRA+= -e 's:@VARBASE@:/var:g' include ${MK}/scripts.mk -include Makefile.${OS} + +ifeq ($(OS),FreeBSD) +PKG_PREFIX?= /usr/local +else ifeq ($(OS),Linux) +PKG_PREFIX?=/usr +else ifeq ($(OS),NetBSD) +PKG_PREFIX?= /usr/pkg +endif -- cgit v1.2.3