summaryrefslogtreecommitdiff
path: root/meta-pkgs
diff options
context:
space:
mode:
authorrillig <rillig>2006-07-04 09:20:18 +0000
committerrillig <rillig>2006-07-04 09:20:18 +0000
commit8a6a83c6ea8864c39e756bc06e4ff74e0953a023 (patch)
tree0d8f163b91ccd47ed011d5d3c7ef57566e9ed344 /meta-pkgs
parentc79229b02ac4e2109f55d9e742e018f254b8d7b6 (diff)
downloadpkgsrc-8a6a83c6ea8864c39e756bc06e4ff74e0953a023.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