diff options
author | xtraeme <xtraeme> | 2004-12-27 17:26:18 +0000 |
---|---|---|
committer | xtraeme <xtraeme> | 2004-12-27 17:26:18 +0000 |
commit | cd4e64dea4f66de8f6151a0ff4e653c6eb0a1683 (patch) | |
tree | f789340d9554a8086c8aca00793eae82f59b1a70 /meta-pkgs | |
parent | 851f9156271cd336b1ff2ebec59eda517d45b64e (diff) | |
download | pkgsrc-cd4e64dea4f66de8f6151a0ff4e653c6eb0a1683.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')
-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) |