Bug 82792

Summary: [maintainer] math/qtiplot: update to latest version
Product: Ports & Packages Reporter: Jie Gao <gaoj>
Component: Individual Port(s)Assignee: Thierry Thomas <thierry>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch-math-qtiplot
none
patch-math-qtiplot none

Description Jie Gao 2005-06-29 20:20:23 UTC
	
Update math/qtiplot to the latest version.

Fix: Apply the patch below to ports directory
How-To-Repeat: 	
N/A
Comment 1 Thierry Thomas freebsd_committer freebsd_triage 2005-06-29 21:16:10 UTC
State Changed
From-To: open->feedback


It fails: 

===>  Extracting for qtiplot-0.6.2.2 
=> Checksum OK for qtiplot-0.6.2-2.zip. 
===>   qtiplot-0.6.2.2 depends on executable: unzip - found 
===>  Patching for qtiplot-0.6.2.2 
===>   qtiplot-0.6.2.2 depends on executable: qmake - found 
===>   qtiplot-0.6.2.2 depends on file: /usr/X11R6/bin/moc - found 
===>   qtiplot-0.6.2.2 depends on executable: gmake - found 
===>   qtiplot-0.6.2.2 depends on shared library: gsl - found 
===>   qtiplot-0.6.2.2 depends on shared library: qwt - found 
===>   qtiplot-0.6.2.2 depends on shared library: qwtplot3d - found 
===>  Configuring for qtiplot-0.6.2.2 
Failure to read QMAKESPEC conf file /usr/X11R6/mkspecs/freebsd-g++/qmake.conf. 
Error processing project file: /usr/ports/math/qtiplot/work/qtiplot-0.6.2-2/qtiplot.pro 
*** Error code 2 

Stop in /usr/ports/math/qtiplot. 

Actually, QMAKESPEC moved from $X11BASE to $LOCALBASE some 
time ago, and you should define QMAKESPEC. 



Comment 2 Thierry Thomas freebsd_committer freebsd_triage 2005-06-29 21:16:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->thierry


Take it.
Comment 3 Thierry Thomas freebsd_committer freebsd_triage 2005-06-29 23:05:51 UTC
On Wed 29 jun 05 at 22:46:38 +0200, Jie Gao <gaoj@cpsc.ucalgary.ca>
 wrote:
> Hi Thierry,

Hello,

> I guess it's something in your environment to cause the problem. Because on 
> my machine everything goes well. Acutally /usr/local/share/qt is hard-coded 
> into qmake in devel/qmake port. So qmake should know where the mkspecs are.

May be, but I don't see anything. However, I can build other qmake-based
ports.

> The "/usr/X11R6/mkspecs/" looks very strange because even if in the old time 
> when qmake was still part of qt port, the make specs had never been 
> in /usr/X11R6/mkspecs. Do you have any QT-related environment variable set?

You're right about the location of mkspecs: e.g. see
deskutils/tuxcards/Makefile. No QT-related environment variable set.

Regards,
-- 
Th. Thomas.
Comment 4 Jie Gao 2005-06-29 23:20:55 UTC
All right, I just grab the QMAKESPEC part from deskutils/tuxcards/Makefile 
and put into qtiplot's Makefile. This time it should be OK. See attached 
patch, which replaces the old one.
-- 
GAO, Jie
PhD Candidate
Artificial Intelligence Research Lab  http://www.cpsc.ucalgary.ca/~gaoj
Department of Computer Science        E-mail: gaoj@cpsc.ucalgary.ca
University of Calgary                 Tel: 1-403-220-7688
Comment 5 Thierry Thomas freebsd_committer freebsd_triage 2005-06-30 23:03:17 UTC
State Changed
From-To: feedback->closed


Committed, thanks! 

Remark: it would be fine to install at least the file help.html.