Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Oct 2002 05:18:18 +0400 (MSD)
From:      "Aleksandr A. Babaylov" <babolo@aaz.links.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/44323: unbreak ports/sysutils/pib
Message-ID:  <200210210118.g9L1IIiR091574@aaz.links.ru>

next in thread | raw e-mail | index | archive | help

>Number:         44323
>Category:       ports
>Synopsis:       unbreak ports/sysutils/pib
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 20 18:20:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Aleksandr A. Babaylov
>Release:        FreeBSD 4.7-PRERELEASE i386
>Organization:
home
>Environment:

	ports tree now
>Description:
	pib marked as BROKEN because of old port layout change
>How-To-Repeat:
	cd ports/sysutils/pib; make
>Fix:

mkdir sysutils/pib/files
new files:
 sysutils/pib/files/patch-Makefile
 sysutils/pib/files/patch-pib


--- sysutils/pib/Makefile	Mon Oct 21 04:59:40 2002
+++ sysutils/pib/Makefile	Mon Oct 21 05:02:30 2002
@@ -13,8 +13,6 @@
 
 MAINTAINER=	msmith@freebsd.org
 
-BROKEN=	"This needs to be updated to work with the newer ports layout"
-
 BUILD_DEPENDS=	wish8.2:${PORTSDIR}/x11-toolkits/tk82
 RUN_DEPENDS=	wish8.2:${PORTSDIR}/x11-toolkits/tk82
 
--- sysutils/pib/files/patch-Makefile	Thu Jan  1 03:00:00 1970
+++ sysutils/pib/files/patch-Makefile	Mon Oct 21 04:40:30 2002
@@ -0,0 +1,10 @@
+--- Makefile	Sat Oct 28 12:55:08 2000
++++ Makefile	Mon Oct 21 04:40:15 2002
+@@ -8,7 +8,6 @@
+ X11BASE?=	/usr/X11R6
+ 
+ LIB=		TkSteal
+-INTERNALLIB=	YES		# inhibits unuseful static library
+ SHLIB_MAJOR=	2
+ SHLIB_MINOR=	0
+ NOPROFILE=	yes
--- sysutils/pib/files/patch-pib	Thu Jan  1 03:00:00 1970
+++ sysutils/pib/files/patch-pib	Mon Oct 21 04:57:52 2002
@@ -0,0 +1,71 @@
+--- pib.tcl	Sat Oct 28 13:01:12 2000
++++ pib.tcl	Sat Apr 28 04:05:37 2001
+@@ -309,22 +309,11 @@
+ #
+ proc init_options {} {
+ 
+-    # listboxes
+-    option add *Listbox.background white;
+-    option add *Listbox.selectForeground white;
+-    option add *Listbox.selectBackground darkblue;
+-
+     # scrollbars
+     option add *Scrollbar.width 11;
+ 
+     # textboxes
+-    option add *Text.background white;
+-    option add *Text.selectForeground white;
+-    option add *Text.selectBackground darkblue;
+     option add *Text.font fixed;
+-
+-    # entries
+-    option add *Entry.background white;
+     
+ }
+ 
+@@ -1931,36 +1920,19 @@
+ 	update_pwin df_getdinfo [format "%d/%d ports, %dK/sec" $pports $Status(nports) $rate];
+ 
+ 	# Find the md5 file.
+-	if {[catch {set fh [open "$path/files/md5" "r"]}]} {
++	if {[catch {set fh [open "$path/distinfo" "r"]}]} {
+ 
+-	    # Nope.  Perhaps we're dealing with US ITAR braindamage
+-	    if {[op_elookup USA_RESIDENT]} {
+-		set aname "$path/files.usa/md5";
++	    # Can't find an distinfo file; give up
++	    if {[file isdirectory "$path"]} {
++		if {$Options(warn_no_md5)} {
++		    lappend errs "$pname: '$path/distinfo' not found";
++		}
+ 	    } else {
+-		set aname "$path/files.non_usa/md5";
+-	    }
+-
+-	    # try again with a new name
+-	    if {[catch {set fh [open $aname "r"]}]} {
+-
+-		# Can't find an md5 file; give up
+-		if {[file isdirectory "$path/files"]} {
+-		    if {$Options(warn_no_md5)} {
+-			lappend errs "$pname: '$path/files/md5' not found";
+-		    }
+-		} else {
+-		    if {[file isdirectory $path]} {
+-			if {$Options(warn_no_fdir)} {
+-			    lappend errs "$pname: '$path/files' not found";
+-			}
+-		    } else {
+-			if {$Options(warn_no_port)} {
+-			    lappend errs "$pname: directory missing.";
+-			}
+-		    }
++		if {$Options(warn_no_port)} {
++		    lappend errs "$pname: directory missing.";
+ 		}
+-		continue ;			# if no port info, assume it's not wanted
+ 	    }
++	    continue ;				# if no port info, assume it's not wanted
+ 	}
+ 
+ 	# initialise state for this port
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210210118.g9L1IIiR091574>