ports/155771: [Maintainer Update] ports-mgmt/pkg_cleanup broken on -CURRENT

Stephen Hurd shurd at sasktel.net
Tue Mar 22 04:40:01 UTC 2011

>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
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 22 04:40:00 UTC 2011
>Originator:     Stephen Hurd
>Release:        N/A
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.


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
 	${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


More information about the freebsd-ports-bugs mailing list