Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Thread Tools Display Modes
  #1   (View Single Post)  
Old 9th August 2008
lumiwa lumiwa is offline
Package Pilot
Join Date: May 2008
Posts: 145
Thanked 4 Times in 3 Posts
Default pgcalc


In /usr/ports/math is /pgcalc. IMO very good RPN calcular but version which is available is 2.2.5_1 and is "BROKEN= Does not compile with GCC 4.2".
I know that is aout version pgcalc2-2.2-10 which mayb works now. Someone have an expiriece with compiling the last version, please?

Reply With Quote
  #2   (View Single Post)  
Old 9th August 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,114
Thanked 198 Times in 156 Posts

A crude patch is attched in this post, you can apply this patch with:
# cd /usr/ports/math/pgcalc && patch -p1 < ~/pgcalc.diff

I'll make it in a proper patch and send a PR later if I have some more time next week ... Or anyone else can if they have time ...

Please note

I did not update the package list, so it's possible that it doesn't uninstall all files.
It seems you only need the binary located in /usr/ports/math/pgcalc/work/pgcalc2-2.2-10/src/pgcalc after running make build, I would suggest not running make install and just copying this binary to ~/bin/ (Or some other location in your path outside of your LOCALBASE).
Attached Files
File Type: diff pgcalc.diff (1.5 KB, 13 views)
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #3   (View Single Post)  
Old 17th August 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
formerly killasmurf86
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 587
Thanked 29 Times in 26 Posts

after some compiling
gmake[2]: Leaving directory `/usr/ports/math/pgcalc/work/pgcalc2-2.2-10/src'
gmake[2]: Entering directory `/usr/ports/math/pgcalc/work/pgcalc2-2.2-10'
gmake[2]: Leaving directory `/usr/ports/math/pgcalc/work/pgcalc2-2.2-10'
gmake[1]: Leaving directory `/usr/ports/math/pgcalc/work/pgcalc2-2.2-10'

P.S. haven't used it, but i already like it
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 06:56 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick