ports/92274: [maintainer] fix graphics/libggi when WITHOUT_X11 is set

Antoine Brodin antoine.brodin at laposte.net
Tue Jan 24 17:30:09 UTC 2006


>Number:         92274
>Category:       ports
>Synopsis:       [maintainer] fix graphics/libggi when WITHOUT_X11 is set
>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 Jan 24 17:30:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Antoine Brodin
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
none
>Environment:
System: FreeBSD barton.dreadbsd.org 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Fri Jan 20 22:26:44 CET 2006 antoine at barton.dreadbsd.org:/usr/obj/usr/src/sys/BARTON i386


>Description:

When WITHOUT_X11 is set, a directory isn't removed (reported by kkenn) :

%%%
Deleting libggi-2.2.0,1 
prefixes: usr/local usr/X11R6
================================================================
Deleting libtool-1.5.22_1 libgii-1.0.0 
pkg_delete: unable to completely remove directory '/usr/local/lib/ggi'
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)

=== Checking filesystem state
list of extra files and directories in / (not present before this port was installed but present after it was deinstalled)
2711855        4 drwxr-xr-x    2 root             wheel                 512 Jan 23 12:54 usr/local/lib/ggi/helper
================================================================
build of /usr/ports/graphics/libggi ended at Mon Jan 23 12:57:16 UTC 2006
%%%

>How-To-Repeat:
>Fix:


--- libggi.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/graphics/libggi/Makefile,v
retrieving revision 1.22
diff -u -r1.22 Makefile
--- Makefile	12 Dec 2005 19:23:17 -0000	1.22
+++ Makefile	24 Jan 2006 16:59:47 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	libggi
 PORTVERSION=	2.2.0
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	graphics devel
 MASTER_SITES=	http://www.ggi-project.org/ftp/ggi/v2.2/ \
@@ -157,6 +158,7 @@
 post-install:
 	${TOUCH} ${PREFIX}/lib/ggi/default/fbdev/.keep
 	${TOUCH} ${PREFIX}/lib/ggi/default/kgi/.keep
+	${TOUCH} ${PREFIX}/lib/ggi/helper/.keep
 	${INSTALL_DATA} ${WRKSRC}/libggi.conf ${PREFIX}/etc/ggi/libggi.conf.dist
 
 .include <bsd.port.post.mk>
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/graphics/libggi/pkg-plist,v
retrieving revision 1.16
diff -u -r1.16 pkg-plist
--- pkg-plist	12 Dec 2005 19:23:17 -0000	1.16
+++ pkg-plist	24 Jan 2006 17:02:44 -0000
@@ -86,6 +86,7 @@
 lib/ggi/display/trueemu.so
 %%WITH_SVGALIB%%lib/ggi/display/vgagl.so
 %%WITH_VGL%%lib/ggi/display/vgl.so
+lib/ggi/helper/.keep
 %%WITH_X%%lib/ggi/helper/helper_x_dbe.so
 %%WITH_X%%lib/ggi/helper/helper_x_dga.so
 %%WITH_X%%lib/ggi/helper/helper_x_evi.so
@@ -99,4 +100,4 @@
 @dirrm lib/ggi/default/kgi
 @dirrm lib/ggi/default
 @dirrm lib/ggi/display
-%%WITH_X%%@dirrm lib/ggi/helper
+ at dirrm lib/ggi/helper
--- libggi.diff ends here ---


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



More information about the freebsd-ports-bugs mailing list