From 296b295484deac3ebd9e77cd6d9026848b7ab29b Mon Sep 17 00:00:00 2001 From: rillig Date: Tue, 4 Jul 2006 09:20:18 +0000 Subject: Made a SUBST block much simpler. --- meta-pkgs/xorg/Makefile.common | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'meta-pkgs') diff --git a/meta-pkgs/xorg/Makefile.common b/meta-pkgs/xorg/Makefile.common index 4d7f237b38e..b99a61e42c7 100644 --- a/meta-pkgs/xorg/Makefile.common +++ b/meta-pkgs/xorg/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.40 2006/05/06 03:14:12 reed Exp $ +# $NetBSD: Makefile.common,v 1.41 2006/07/04 09:20:18 rillig Exp $ # # XBUILD_DIRS is the group of directories under ${WRKSRC} that will # be built in. @@ -210,17 +210,14 @@ SYSTEMS= FreeBSD NetBSD OpenBSD darwin linux DragonFly .if !empty(MACHINE_PLATFORM:MNetBSD-1.6[M-Z]*) || \ !empty(MACHINE_PLATFORM:MNetBSD-[2-9]*) -. if exists(/usr/include/threadlib.h) SUBST_CLASSES+= thr SUBST_STAGE.thr= post-patch +SUBST_MESSAGE.thr= Fixes for threadlib.h. SUBST_FILES.thr= config/cf/NetBSD.cf.in +. if exists(/usr/include/threadlib.h) SUBST_SED.thr= -e 's|@@NETBSD_THREADLIB@@|-DUSE_NBSD_THREADLIB|' -SUBST_MESSAGE.thr= Fixes for threadlib.h. . else -SUBST_CLASSES+= nada -SUBST_STAGE.nada= post-patch -SUBST_FILES.nada= config/cf/NetBSD.cf.in -SUBST_SED.nada= -e 's|@@NETBSD_THREADLIB@@||' +SUBST_SED.thr= -e 's|@@NETBSD_THREADLIB@@||' . endif .endif -- cgit v1.2.3