ports/cad/gdt/files/patch-Examples-gdsinfo
2016-05-16 17:47:10 +00:00

14 lines
473 B
Text

--- Examples/gdsinfo.orig 2016-05-16 17:46:24 UTC
+++ Examples/gdsinfo
@@ -75,10 +75,7 @@ $topCellNames =~ s/,/ /g;
$topCellNames =~ s/\s+/ /g;
# help find gds2gdt
-my $uname_s = `/bin/uname -s`; # OS name
-chomp $uname_s;
-$ENV{'PATH'} = "/bin:/usr/bin:/user/ic/gnu/$uname_s/bin:".$ENV{'PATH'};
-my $gds2gdt = which("gds2gdt");
+my $gds2gdt = '%%PREFIX%%/bin/gds2gdt';
unless ($gds2gdt)
{
die $REVERSE_RED.ERROR."$COLOR_RESET unable to find gds2gdt in \$PATH";