Thread: pgcalc
View Single Post
  #2   (View Single Post)  
Old 9th August 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

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, 57 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