pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/shells/bash Fix bash's default path to not have hard-c...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/372f3f6d8d3a
branches:  trunk
changeset: 523510:372f3f6d8d3a
user:      reed <reed%pkgsrc.org@localhost>
date:      Mon Jan 08 19:26:31 2007 +0000

description:
Fix bash's default path to not have hard-coded /usr/pkg/bin but use
LOCALBASE.

I think I did this last December 2005, but did bash2 package correctly.

Reported by Georg Schwarz via tech-pkg.

diffstat:

 shells/bash/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r f87c0bfc3249 -r 372f3f6d8d3a shells/bash/Makefile
--- a/shells/bash/Makefile      Mon Jan 08 18:57:49 2007 +0000
+++ b/shells/bash/Makefile      Mon Jan 08 19:26:31 2007 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.31 2006/10/22 11:19:24 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2007/01/08 19:26:31 reed Exp $
 
 DISTNAME=      bash-3.2
+PKGREVISION=   1
 CATEGORIES=    shells
 MASTER_SITES=  ${MASTER_SITE_GNU:=bash/} \
                ftp://ftp.cwru.edu/pub/bash/
@@ -22,7 +23,7 @@
 GNU_CONFIGURE=         yes
 MAKE_ENV+=             INSTALL_SCRIPT=${INSTALL_SCRIPT:Q}
 CONFIGURE_ARGS=                LOCAL_LDFLAGS=${EXPORT_SYMBOLS_LDFLAGS:M*:Q}
-CPPFLAGS+=             -DDEFAULT_PATH_VALUE="\"/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin\""
+CPPFLAGS+=             -DDEFAULT_PATH_VALUE="\"/usr/bin:/bin:${LOCALBASE}/bin:/usr/local/bin\""
 TEST_TARGET=           test
 
 INFO_FILES=            YES # PLIST



Home | Main Index | Thread Index | Old Index