pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/scmgit-base Wrap 'cd -P' replacement code in pla...
details: https://anonhg.NetBSD.org/pkgsrc/rev/27e65b577551
branches: trunk
changeset: 569144:27e65b577551
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun Jan 10 07:53:10 2010 +0000
description:
Wrap 'cd -P' replacement code in platform ifdefs.
>From Steven Drake in PR 42168.
diffstat:
devel/scmgit-base/Makefile | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r e4abfc993fae -r 27e65b577551 devel/scmgit-base/Makefile
--- a/devel/scmgit-base/Makefile Sun Jan 10 05:39:29 2010 +0000
+++ b/devel/scmgit-base/Makefile Sun Jan 10 07:53:10 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2010/01/09 15:52:19 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2010/01/10 07:53:10 wiz Exp $
#
.include "../../devel/scmgit/Makefile.common"
@@ -80,6 +80,9 @@
SUBST_STAGE.fix-paths= pre-build
SUBST_VARS.fix-paths= PREFIX
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS" || ${OPSYS} == "OSF1" || ${OPSYS} == "HPUX" || ${OPSYS} == "QNX" || ${OPSYS} == "UnixWare"
SUBST_CLASSES+= fix-cd-P
SUBST_FILES.fix-cd-P= git-sh-setup.sh
SUBST_FILES.fix-cd-P+= t/t0000-basic.sh
@@ -88,6 +91,7 @@
SUBST_MESSAGE.fix-cd-P= Fixing cd arguments.
SUBST_STAGE.fix-cd-P= pre-build
SUBST_SED.fix-cd-P= -e "s/cd -P/cd/g"
+.endif
#.include "../../editors/emacs/modules.mk" # XXX TODO (see patch-ad)
Home |
Main Index |
Thread Index |
Old Index