SF.net SVN: gar:[25018] csw/mgar/pkg/binutils/trunk/Makefile

rmottola at users.sourceforge.net rmottola at users.sourceforge.net
Sat May 23 14:36:27 CEST 2015


Revision: 25018
          http://sourceforge.net/p/gar/code/25018
Author:   rmottola
Date:     2015-05-23 12:36:26 +0000 (Sat, 23 May 2015)
Log Message:
-----------
binutils/trunk: cleaner way to set grep, suggested by Dago

Modified Paths:
--------------
    csw/mgar/pkg/binutils/trunk/Makefile

Modified: csw/mgar/pkg/binutils/trunk/Makefile
===================================================================
--- csw/mgar/pkg/binutils/trunk/Makefile	2015-05-22 17:28:59 UTC (rev 25017)
+++ csw/mgar/pkg/binutils/trunk/Makefile	2015-05-23 12:36:26 UTC (rev 25018)
@@ -23,9 +23,11 @@
 
 # EXTRA_CPPFLAGS += -features=extensions -D__FUNCTION__=__func__
 
-GREP=ggrep
-EXTRA_EXPORTS=GREP
+# We need GNU grep
+EXTRA_CONFIGURE_EXPORTS += GREP
+CONFIGURE_ENV_GREP = /opt/csw/bin/ggrep
 
+
 CONFIGURE_ARGS += --program-prefix=g
 # http://sourceware.org/bugzilla/show_bug.cgi?id=12265
 CONFIGURE_ARGS += --disable-werror
@@ -64,8 +66,6 @@
 
 include gar/category.mk
 
-# We need GNU grep 
-PATH := /opt/csw/gnu:$(PATH)
 
 post-install-modulated:
 	@# Every package carries his own links in /opt/csw/gnu

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list