This should fix the ownership (and mode) of /usr/bin/gdb and its 
associated info pages.

ok?

One open question: we never strip gdb, unlike other binaries.  Maybe we 
should add ${INSTALL_STRIP} to the INSTALL_PROGRAM assignment here?

Philip Guenther


Index: usr.bin/binutils/Makefile.bsd-wrapper
===================================================================
RCS file: /data/src/openbsd/src/gnu/usr.bin/binutils/Makefile.bsd-wrapper,v
retrieving revision 1.83
diff -u -p -r1.83 Makefile.bsd-wrapper
--- usr.bin/binutils/Makefile.bsd-wrapper       1 Jun 2015 17:36:19 -0000       
1.83
+++ usr.bin/binutils/Makefile.bsd-wrapper       10 Sep 2016 21:33:56 -0000
@@ -81,7 +81,8 @@ install: maninstall
            tooldir=${PREFIX} \
            BSDSRCDIR=${BSDSRCDIR} \
            INSTALL_MODULES='${INSTALL_MODULES}' \
-           INSTALL_PROGRAM='install -c -S' \
+           INSTALL_PROGRAM='install -c -S -o ${BINOWN} -g ${BINGRP} -m 
${BINMODE}' \
+           INSTALL_DATA='install -c -o ${BINOWN} -g ${DOCGRP} -m 
${NONBINMODE}' \
            INSTALL_INFO_HOST_MODULES='${INSTALL_INFO_HOST_MODULES}' \
              install install-info
 

Reply via email to