freebsd-ports/audio/gnump3d/files/patch-bin::gnump3d-top

18 lines
496 B
Text
Raw Normal View History

--- 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" )
{