pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/shells For both bash packages, use CPP to define



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5eece6527db9
branches:  trunk
changeset: 504917:5eece6527db9
user:      reed <reed%pkgsrc.org@localhost>
date:      Tue Dec 27 21:32:59 2005 +0000

description:
For both bash packages, use CPP to define
DEFAULT_PATH_VALUE as /usr/bin:/bin:${LOCALBASE}/bin:/usr/local/bin

(Instead of having non-existent default PATH directories.)

Bump PKGREVISION.

This is for PR 25044.

Okayed by bash2 maintainer.

diffstat:

 shells/bash/Makefile  |  5 +++--
 shells/bash2/Makefile |  5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (45 lines):

diff -r eedc7f03b495 -r 5eece6527db9 shells/bash/Makefile
--- a/shells/bash/Makefile      Tue Dec 27 21:31:28 2005 +0000
+++ b/shells/bash/Makefile      Tue Dec 27 21:32:59 2005 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.14 2005/12/05 20:50:58 rillig Exp $
+# $NetBSD: Makefile,v 1.15 2005/12/27 21:32:59 reed Exp $
 
 DISTNAME=      bash-3.0
 PKGNAME=       bash-3.0pl16
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    shells
 MASTER_SITES=  ${MASTER_SITE_GNU:=bash/} \
                ftp://ftp.cwru.edu/pub/bash/
@@ -26,6 +26,7 @@
 USE_PKGLOCALEDIR=      yes
 GNU_CONFIGURE=         yes
 MAKE_ENV+=             INSTALL_SCRIPT=${INSTALL_SCRIPT:Q}
+CPPFLAGS+=             -DDEFAULT_PATH_VALUE="\"/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin\""
 TEST_TARGET=           test
 
 INFO_FILES=            bash.info
diff -r eedc7f03b495 -r 5eece6527db9 shells/bash2/Makefile
--- a/shells/bash2/Makefile     Tue Dec 27 21:31:28 2005 +0000
+++ b/shells/bash2/Makefile     Tue Dec 27 21:32:59 2005 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.68 2005/12/05 20:50:58 rillig Exp $
+# $NetBSD: Makefile,v 1.69 2005/12/27 21:32:59 reed Exp $
 #
 
 DISTNAME=      bash-2.05b
 PKGNAME=       bash-2.05.2.7
-PKGREVISION=   6
+PKGREVISION=   7
 CATEGORIES=    shells
 MASTER_SITES=  ${MASTER_SITE_GNU:=bash/} \
                ftp://ftp.cwru.edu/pub/bash/
@@ -25,6 +25,7 @@
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --with-installed-readline
 MAKE_ENV+=             INSTALL_SCRIPT=${INSTALL_SCRIPT:Q}
+CPPFLAGS+=             -DDEFAULT_PATH_VALUE="\"/usr/bin:/bin:${LOCALBASE}/bin:/usr/local/bin\""
 TEST_TARGET=           test
 
 PKG_SHELL=             bin/bash



Home | Main Index | Thread Index | Old Index