summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta-pkgs/xorg/Makefile.common11
1 files changed, 4 insertions, 7 deletions
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