pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/wrapper



Module Name:    pkgsrc
Committed By:   khorben
Date:           Thu Nov 16 00:31:47 UTC 2017

Modified Files:
        pkgsrc/mk/wrapper: cmd-sink-mkpie-gcc

Log Message:
Let the MKPIE command sink for GCC re-use the generic command sink

The cmd-sink-mkpie-gcc component for PKGSRC_MKPIE support on GCC was
lagging behind the generic one. This makes sure it cannot happen again,
by invoking the generic sink right away.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/mk/wrapper/cmd-sink-mkpie-gcc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/wrapper/cmd-sink-mkpie-gcc
diff -u pkgsrc/mk/wrapper/cmd-sink-mkpie-gcc:1.3 pkgsrc/mk/wrapper/cmd-sink-mkpie-gcc:1.4
--- pkgsrc/mk/wrapper/cmd-sink-mkpie-gcc:1.3    Sun Apr 16 16:48:48 2017
+++ pkgsrc/mk/wrapper/cmd-sink-mkpie-gcc        Thu Nov 16 00:31:47 2017
@@ -1,4 +1,4 @@
-# $NetBSD: cmd-sink-mkpie-gcc,v 1.3 2017/04/16 16:48:48 khorben Exp $
+# $NetBSD: cmd-sink-mkpie-gcc,v 1.4 2017/11/16 00:31:47 khorben Exp $
 #
 # Copyright (c) 2016 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -27,15 +27,7 @@
 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 # POSSIBILITY OF SUCH DAMAGE.
 
-while ! queue_is_empty cmdbuf; do
-       pop_queue cmdbuf arg
-       $debug_log $wrapperlog "    (cmd-sink-mkpie-gcc) pop:  $arg"
-       case $arg in
-       *)
-               . $buildcmd
-               ;;
-       esac
-done
+. ${cmd_sink%-mkpie-gcc}
 
 # Append any optional flags required when linking binaries.
 if $test "$dont_link_binary" != "yes"; then



Home | Main Index | Thread Index | Old Index