Bug 169424 - math/lp_solve installation on powerpc
Summary: math/lp_solve installation on powerpc
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: Ruslan Makhmatkhanov
Depends on:
Reported: 2012-06-25 19:20 UTC by Matthieu Volat
Modified: 2012-06-26 22:00 UTC (History)
0 users

See Also:

file.diff (464 bytes, patch)
2012-06-25 19:20 UTC, Matthieu Volat
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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"

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 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:

Edwin Groothuis via the GNATS Auto Assign Tool
Comment 2 Edwin Groothuis freebsd_committer 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

The patch looks good, please commit it.

Matthieu, thanks for sending it in.

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 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 2012-06-26 21:51:14 UTC
rm          2012-06-26 20:51:03 UTC

  FreeBSD ports repository

  Modified files:
    math/lp_solve        Makefile 
  - 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
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 7 Ruslan Makhmatkhanov freebsd_committer 2012-06-26 21:51:24 UTC
State Changed
From-To: open->closed

Committed, thank you!