FreeBSD Bugzilla – Attachment 148394 Details for
Bug 194423
Tools/scripts/portsearch: add support for setting non standard PORTSDIR
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
PORTSDIR fix
portsearch.patch (text/plain), 480 bytes, created by
Pawel Pekala
on 2014-10-17 18:04:16 UTC
(
hide
)
Description:
PORTSDIR fix
Filename:
MIME Type:
Creator:
Pawel Pekala
Created:
2014-10-17 18:04:16 UTC
Size:
480 bytes
patch
obsolete
>--- portsearch.orig 2014-10-17 19:45:34.889448112 +0200 >+++ portsearch 2014-10-17 19:47:45.669617030 +0200 >@@ -46,8 +46,11 @@ > my $osrel = `/usr/bin/uname -r`; > $osrel =~ s/\..+$//s; > >+my $portsdir = "/usr/ports"; >+$portsdir = $ENV{PORTSDIR} if ( defined $ENV{'PORTSDIR'} ); >+ > my $VERSION = "1.0"; >-my $file = "/usr/ports/INDEX" . ($osrel <= 4 ? "" : "-$osrel"); >+my $file = "$portsdir/INDEX" . ($osrel <= 4 ? "" : "-$osrel"); > my $match = 1; > my $count = 0; > my $fulldesc = 0;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 194423
: 148394