diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-12-27 17:26:18 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-12-27 17:26:18 +0000 |
commit | b7efe9439ad0d0f74f48849b133a9f5977bc8d98 (patch) | |
tree | f789340d9554a8086c8aca00793eae82f59b1a70 /meta-pkgs/xorg | |
parent | 62a21550ca5e1aac446556431c6731e0332b060f (diff) | |
download | pkgsrc-b7efe9439ad0d0f74f48849b133a9f5977bc8d98.tar.gz |
Finish my previous commit and unbreak xorg-*:
* Move the subst macros for threadlib.h from xorg-libs to
xorg/Makefile.common.
* SUBST_CLASSES should be appended.
Thanks to Manuel Stuehn <manuel.stuehn@student.uni-siegen.de> for
the email showing me the problems.
Diffstat (limited to 'meta-pkgs/xorg')
-rw-r--r-- | meta-pkgs/xorg/Makefile.common | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/meta-pkgs/xorg/Makefile.common b/meta-pkgs/xorg/Makefile.common index 6ee13cc967c..4f83d99ff45 100644 --- a/meta-pkgs/xorg/Makefile.common +++ b/meta-pkgs/xorg/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.13 2004/11/05 02:58:56 xtraeme Exp $ +# $NetBSD: Makefile.common,v 1.14 2004/12/27 17:26:19 xtraeme Exp $ # # XBUILD_DIRS is the group of directories under ${WRKSRC} that will # be built in. @@ -162,6 +162,21 @@ SYSTEMS= FreeBSD NetBSD OpenBSD linux DragonFly .if !defined(NO_XORG_TARGETS) +.if !empty(MACHINE_PLATFORM:MNetBSD-2.[0-9]*) +. if exists(/usr/include/threadlib.h) +SUBST_CLASSES+= thr +SUBST_STAGE.thr= post-patch +SUBST_FILES.thr= config/cf/NetBSD.cf.in +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@@||' +. endif +.endif + USE_LANGUAGES= c c++ . if !target(post-extract) |