Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Mar 2011 04:30:11 GMT
From:      Stephen Hurd <shurd@sasktel.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/155771: [Maintainer Update] ports-mgmt/pkg_cleanup broken on -CURRENT
Message-ID:  <201103220430.p2M4UBlv073284@red.freebsd.org>
Resent-Message-ID: <201103220440.p2M4e1QI051805@freefall.freebsd.org>

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

>Number:         155771
>Category:       ports
>Synopsis:       [Maintainer Update] ports-mgmt/pkg_cleanup broken on -CURRENT
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 22 04:40:00 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Stephen Hurd
>Release:        N/A
>Organization:
>Environment:
N/A
>Description:
Due to libdialog update, this program needs a rewrite to separate the UI from the logic.  Until I do that, I'll mark it as broken for versions since the libdialog change.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ur ports-mgmt/pkg_cleanup.orig/Makefile ports-mgmt/pkg_cleanup/Makefile
--- ports-mgmt/pkg_cleanup.orig/Makefile	2011-03-18 20:44:09.000000000 -0700
+++ ports-mgmt/pkg_cleanup/Makefile	2011-03-21 21:27:24.000000000 -0700
@@ -20,6 +20,12 @@
 
 PLIST_FILES=	sbin/pkg_cleanup
 
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 900030
+BROKEN=		Still requires old libdialog
+.endif
+
 do-extract:
 	${MKDIR} ${WRKSRC}
 	${CP} -R ${FILESDIR}/* ${WRKSRC}
@@ -31,4 +37,4 @@
 	${INSTALL_PROGRAM} ${WRKSRC}/pkg_cleanup ${PREFIX}/sbin/pkg_cleanup
 	${INSTALL_MAN} ${WRKSRC}/pkg_cleanup.1 ${MAN1PREFIX}/man/man1
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Only in ports-mgmt/pkg_cleanup: work


>Release-Note:
>Audit-Trail:
>Unformatted:



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