pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/gmake



Module Name:    pkgsrc
Committed By:   leot
Date:           Fri Nov 16 16:00:18 UTC 2018

Modified Files:
        pkgsrc/devel/gmake: Makefile

Log Message:
gmake: Unconditionally avoid setgid and group change in configure phase

On some systems gmake can be installed setgid and with the group
adjusted according the group of /dev/kmem.  Previously this was
adjusted in post-install phase.
Rework that by passing CONFIGURE_ARGS instead and document that
via a comment.


To generate a diff of this commit:
cvs rdiff -u -r1.106 -r1.107 pkgsrc/devel/gmake/Makefile

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

Modified files:

Index: pkgsrc/devel/gmake/Makefile
diff -u pkgsrc/devel/gmake/Makefile:1.106 pkgsrc/devel/gmake/Makefile:1.107
--- pkgsrc/devel/gmake/Makefile:1.106   Wed Jul  4 14:09:07 2018
+++ pkgsrc/devel/gmake/Makefile Fri Nov 16 16:00:18 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.106 2018/07/04 14:09:07 bsiegert Exp $
+# $NetBSD: Makefile,v 1.107 2018/11/16 16:00:18 leot Exp $
 
 DISTNAME=      make-4.2.1
 PKGNAME=       g${DISTNAME}
@@ -28,6 +28,10 @@ CONFIGURE_ARGS+=     --program-prefix=g
 # workaround for broken strndup
 CONFIGURE_ARGS.MirBSD+=        ac_cv_func_strndup=no
 
+# XXX: Do not install gmake setgid and do not override the owner group
+# XXX: based on possible /dev/kmem permissions.
+CONFIGURE_ARGS+=       ac_cv_func_getloadavg_setgid=no
+
 AUTO_MKDIRS=           yes
 
 PLIST_SRC=             ${PKGDIR}/PLIST
@@ -35,8 +39,6 @@ PLIST_SRC=            ${PKGDIR}/PLIST
 .include "options.mk"
 
 post-install:
-       ${CHMOD} g-s ${DESTDIR}${PREFIX}/bin/gmake
-       ${CHGRP} ${BINGRP} ${DESTDIR}${PREFIX}/bin/gmake
        ${LN} -sf ${PREFIX}/bin/gmake ${DESTDIR}${PREFIX}/${PKGGNUDIR}/bin/make
        ${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/gmake.1 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man1/make.1
 



Home | Main Index | Thread Index | Old Index