Bug 105561 - x11-toolkis/wxgtk26, wtgtk2-2.6-config needs bash or ksh
Summary: x11-toolkis/wxgtk26, wtgtk2-2.6-config needs bash or ksh
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Max Khon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-15 09:20 UTC by Rong-En Fan
Modified: 2006-11-28 18:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rong-En Fan freebsd_committer freebsd_triage 2006-11-15 09:20:02 UTC
	in wxgtk2-2.6-config, it checks if we have bash or ksh,
	otherwise it exits. While building wxgtk2-contrib:

	http://www.rafan.org/tb/errors/7-FreeBSD/wxgtk2-contrib-2.6.3.log

	It fails because of this.

Fix: 

Either port wxgtk2-2.6-config to use our sh or requires bash
	in runtime.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-11-15 11:01:30 UTC
Responsible Changed
From-To: freebsd-ports-bugs->fjoe

Over to maintainer
Comment 2 Max Khon freebsd_committer freebsd_triage 2006-11-15 17:04:48 UTC
State Changed
From-To: open->feedback

What is the output of this script on your host? 

#!/bin/sh 
echo ~ 
if [ ~ = '~' ]; then 
echo failed 
else 
echo success 
fi 

It shall print "success" and does so on all my hosts (and sledge). Looks like 
something is wrong with your /bin/sh.
Comment 3 dfilter service freebsd_committer freebsd_triage 2006-11-28 17:53:45 UTC
fjoe        2006-11-28 17:53:36 UTC

  FreeBSD ports repository

  Modified files:
    x11-toolkits/wxgtk26 Makefile 
    x11-toolkits/wxgtk26/files patch-wx-config.in 
    x11-toolkits/wxgtk26-unicode Makefile 
  Log:
  - Fix wxgtk2-2.6-config and wxgtk2u-2.6-config when HOME is not set --
  execute /bin/sh instead of bash in this case.
  - Bump PORTREVISION
  
  PR:             105561
  
  Revision  Changes    Path
  1.8       +1 -0      ports/x11-toolkits/wxgtk26-unicode/Makefile
  1.28      +1 -0      ports/x11-toolkits/wxgtk26/Makefile
  1.4       +22 -3     ports/x11-toolkits/wxgtk26/files/patch-wx-config.in
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Max Khon freebsd_committer freebsd_triage 2006-11-28 17:53:50 UTC
State Changed
From-To: feedback->closed

I fixed wxgtk2-2.6-config and wxgtk2u-2.6-config 
scripts to run /bin/sh when HOME is not set.