pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/meta-pkgs/xorg Made a SUBST block much simpler.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4cb8b08a2ef9
branches:  trunk
changeset: 515579:4cb8b08a2ef9
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Jul 04 09:20:18 2006 +0000

description:
Made a SUBST block much simpler.

diffstat:

 meta-pkgs/xorg/Makefile.common |  11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diffs (30 lines):

diff -r 6aefe61955c3 -r 4cb8b08a2ef9 meta-pkgs/xorg/Makefile.common
--- a/meta-pkgs/xorg/Makefile.common    Tue Jul 04 09:13:49 2006 +0000
+++ b/meta-pkgs/xorg/Makefile.common    Tue Jul 04 09:20:18 2006 +0000
@@ -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 @@
 
 .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
 



Home | Main Index | Thread Index | Old Index