Date: Sat, 24 Sep 2011 22:14:53 +0400 From: h h <aakuusta@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/160986: [patch] editors/emacs-devel: use autodepend Message-ID: <86ty81iz8i.fsf@gmail.com> Resent-Message-ID: <201109241820.p8OIK9SF053761@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 160986 >Category: ports >Synopsis: [patch] editors/emacs-devel: use autodepend >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Sep 24 18:20:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: h h >Release: FreeBSD 9.0-BETA2 amd64 >Organization: >Environment: >Description: Do not lie to configure script about `make' flavor the port actually uses. Leverage MAKE variable in environment passed by USE_GMAKE. >How-To-Repeat: $ make configure $ grep 'DEPFLAGS.*=' $(make -V WRKSRC)/**/Makefile WRKSRC/lib/Makefile:DEPFLAGS = WRKSRC/src/Makefile:DEPFLAGS= >Fix: --- a.diff begins here --- Index: editors/emacs-devel/files/patch-configure.in =================================================================== RCS file: /a/.csup/ports/editors/emacs-devel/files/patch-configure.in,v retrieving revision 1.8 diff -u -p -r1.8 patch-configure.in --- editors/emacs-devel/files/patch-configure.in 8 Aug 2011 14:32:54 -0000 1.8 +++ editors/emacs-devel/files/patch-configure.in 24 Sep 2011 18:05:34 -0000 @@ -44,3 +44,12 @@ $FreeBSD: ports/editors/emacs-devel/file case "$opsys" in dnl defined __FreeBSD__ || defined __NetBSD__ || defined __linux__ gnu-linux|freebsd|netbsd) +@@ -1369,7 +1340,7 @@ dnl check for GNU Make if we have GCC an + if test "$GCC" = yes && test "$ac_enable_autodepend" = yes; then + AC_MSG_CHECKING([whether we are using GNU Make]) + HAVE_GNU_MAKE=no +- testval=`make --version 2>/dev/null | grep 'GNU Make'` ++ testval=`${MAKE:-make} --version 2>/dev/null | grep 'GNU Make'` + if test "x$testval" != x; then + HAVE_GNU_MAKE=yes + else --- a.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ty81iz8i.fsf>