pkgsrc-Changes archive

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

CVS commit: pkgsrc/shells/etsh



Module Name:    pkgsrc
Committed By:   vins
Date:           Mon Dec 19 09:54:08 UTC 2022

Modified Files:
        pkgsrc/shells/etsh: distinfo
Added Files:
        pkgsrc/shells/etsh/patches: patch-mkconfig

Log Message:
shells/etsh: Fix build on SunOS.

Prevent the `mkconfig' script from overwiriting CC and INSTALL
environment on SunOS. The script assumed OpenIndiana to be the
target SunOS platform, but this is isn't necessarily the case.
Package tested on Solaris 11.4 with Solaris Studio 12.6.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/shells/etsh/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/shells/etsh/patches/patch-mkconfig

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

Modified files:

Index: pkgsrc/shells/etsh/distinfo
diff -u pkgsrc/shells/etsh/distinfo:1.1 pkgsrc/shells/etsh/distinfo:1.2
--- pkgsrc/shells/etsh/distinfo:1.1     Mon Jul  4 08:31:43 2022
+++ pkgsrc/shells/etsh/distinfo Mon Dec 19 09:54:07 2022
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1 2022/07/04 08:31:43 pin Exp $
+$NetBSD: distinfo,v 1.2 2022/12/19 09:54:07 vins Exp $
 
 BLAKE2s (etsh-5.4.0.tar.xz) = 7aeb84e45ec79f2850c93fcd87078959a887f26d6e94f36716106e73db384f70
 SHA512 (etsh-5.4.0.tar.xz) = 7360da1e9bc6a7ed8c38e95eb1e2159bd2803ffa1a032235380d5901a1a6e0399d418b532917e8578bdab53fb43f99d35affc7753da0ec5612bbb8d47715970a
 Size (etsh-5.4.0.tar.xz) = 92388 bytes
+SHA1 (patch-mkconfig) = 63321044510964c52aee4f2c1afb2fab4d2d7499

Added files:

Index: pkgsrc/shells/etsh/patches/patch-mkconfig
diff -u /dev/null pkgsrc/shells/etsh/patches/patch-mkconfig:1.1
--- /dev/null   Mon Dec 19 09:54:08 2022
+++ pkgsrc/shells/etsh/patches/patch-mkconfig   Mon Dec 19 09:54:07 2022
@@ -0,0 +1,16 @@
+$NetBSD: patch-mkconfig,v 1.1 2022/12/19 09:54:07 vins Exp $
+
+Do not force compiler path on SunOS.
+
+--- mkconfig.orig      2018-12-16 16:40:44.000000000 +0000
++++ mkconfig
+@@ -220,8 +220,7 @@ SunOS)
+       ( echo '#define CONFIG_SUNOS' ; echo ) >>$CONFIG_H
+       echo '#define   _XOPEN_SOURCE   700'   >>$CONFIG_H
+       echo '#define   _XOPEN_SOURCE   700'   >>$BSDSTYLE_H
+-      CC=/usr/bin/gcc
+-      ( echo CC=$CC ; echo INSTALL=/usr/bin/ginstall ) >>mkconfig.tmp
++      ( echo CC=${CC} ; echo INSTALL=${INSTALL} ) >>mkconfig.tmp
+       ;;
+ *)
+       #



Home | Main Index | Thread Index | Old Index