pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/shells/etsh shells/etsh: standardize make environment.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/031868bece65
branches:  trunk
changeset: 390397:031868bece65
user:      vins <vins%pkgsrc.org@localhost>
date:      Sun Dec 18 16:27:01 2022 +0000

description:
shells/etsh: standardize make environment.

This addresses an issue on SunOS systems where the default compiler
path might be non-existent, and likely prevents further breakages due
to hard-coded assumptions.

diffstat:

 shells/etsh/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 8e3e50c9d2ad -r 031868bece65 shells/etsh/Makefile
--- a/shells/etsh/Makefile      Sun Dec 18 16:26:07 2022 +0000
+++ b/shells/etsh/Makefile      Sun Dec 18 16:27:01 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2022/12/06 19:27:30 vins Exp $
+# $NetBSD: Makefile,v 1.4 2022/12/18 16:27:01 vins Exp $
 
 DISTNAME=      etsh-5.4.0
 CATEGORIES=    shells
@@ -24,7 +24,13 @@
 REPLACE_FILES.tsh+=    libexec.etsh/history
 REPLACE_FILES.tsh+=    libexec.etsh/pev
 
+MAKE_ENV+=     CC=${CC:Q}
+MAKE_ENV+=     CFLAGS=${CFLAGS:Q}
+MAKE_ENV+=     LDFLAGS=${LDFLAGS:Q}
+MAKE_ENV+=     INSTALL=${INSTALL:Q}
+
 MAKE_FLAGS+=   PREFIX=${PREFIX}
+MAKE_FLAGS+=   SYSCONFDIR=${PKG_SYSCONFDIR}
 MAKE_FLAGS+=   DESTDOCDIR=${DESTDIR}${DOCDIR}
 MAKE_FLAGS+=   DESTEXPDIR=${DESTDIR}${EXPDIR}
 



Home | Main Index | Thread Index | Old Index