summaryrefslogtreecommitdiff
path: root/meta-pkgs
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-07-04 09:20:18 +0000
committerrillig <rillig@pkgsrc.org>2006-07-04 09:20:18 +0000
commit296b295484deac3ebd9e77cd6d9026848b7ab29b (patch)
tree0d8f163b91ccd47ed011d5d3c7ef57566e9ed344 /meta-pkgs
parent3889702421f4092d7d55480118cfbf16e8de3387 (diff)
downloadpkgsrc-296b295484deac3ebd9e77cd6d9026848b7ab29b.tar.gz
Made a SUBST block much simpler.
Diffstat (limited to 'meta-pkgs')
-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