Bug 169424

Summary: math/lp_solve installation on powerpc
Product: Ports & Packages Reporter: Matthieu Volat <mazhe>
Component: Individual Port(s)Assignee: Ruslan Makhmatkhanov <rm>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Matthieu Volat 2012-06-25 19:20:06 UTC
As of now, math/lp_solve building is marked as broken when building for the powerpc architecture as it does not install.

Using a macbook g4, I was able to build and install lp_solve if I removed the "broken" flag and added a section in the ${ARCH} selection block like that :

.if ${ARCH} == "i386" || ${ARCH} == "powerpc"
LPSOLVE_ARCH=   ux32
.else
LPSOLVE_ARCH=   ux64
.endif

No problem were seen : the executable seems to run fine.

Fix: Set the LPSOVE_ARCH as ux32, see patch attached.

Patch attached with submission follows:
How-To-Repeat: Try to make then make install math/lp_solve, there will be a complain about no ux64 directory found.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-06-26 08:36:46 UTC
Maintainer of math/lp_solve,

Please note that PR ports/169424 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/169424

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2012-06-26 08:36:50 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 mayo 2012-06-26 09:28:46 UTC
Hi,

The patch looks good, please commit it.

Matthieu, thanks for sending it in.

Thanks,
Mayo Jordanov
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2012-06-26 10:13:30 UTC
State Changed
From-To: feedback->open

Maintainer approved.
Comment 5 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2012-06-26 21:47:55 UTC
Responsible Changed
From-To: freebsd-ports-bugs->rm

I will take it.
Comment 6 dfilter service freebsd_committer freebsd_triage 2012-06-26 21:51:14 UTC
rm          2012-06-26 20:51:03 UTC

  FreeBSD ports repository

  Modified files:
    math/lp_solve        Makefile 
  Log:
  - fix installation on powerpc
  
  PR:             169424
  Submitted by:   Matthieu Volat <mazhe at alkumuna dot eu>
  Approved by:    Mayo Jordanov <mayo at oyam dot ca> (maintainer)
  
  Revision  Changes    Path
  1.24      +1 -5      ports/math/lp_solve/Makefile
_______________________________________________
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 7 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2012-06-26 21:51:24 UTC
State Changed
From-To: open->closed

Committed, thank you!