freebsd-ports/audio/gnump3d/files/patch-bin::gnump3d-top
Philippe Audeoud ebcb4d14ad - Update to 3.0
PR:	ports/119308
Submitted by:	Philippe Audeoud <jadawin@tuxaco.net>
Approved by:	thierry (mentor)
2008-03-18 09:30:27 +00:00

17 lines
496 B
Text

--- bin/gnump3d-top.orig 2008-01-03 11:25:59.000000000 +0000
+++ bin/gnump3d-top 2008-01-03 11:26:30.000000000 +0000
@@ -126,12 +126,12 @@
{
$CONFIG{'file'} = $ENV{"HOME"} . "/.gnump3drc";
}
-elsif ( -e "/etc/gnump3d/gnump3d.conf" )
+elsif ( -e "%%PREFIX%%/etc/gnump3d/gnump3d.conf" )
{
#
# Otherwise the system wide one.
#
- $CONFIG{'file'} = "/etc/gnump3d/gnump3d.conf";
+ $CONFIG{'file'} = "%%PREFIX%%/etc/gnump3d/gnump3d.conf";
}
elsif ( -e "gnump3d.conf" )
{