Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 May 2012 22:07:24 GMT
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/167809: lang/squeak incomplete plist when libGL is installed
Message-ID:  <201205112207.q4BM7Oe9056788@red.freebsd.org>
Resent-Message-ID: <201205112210.q4BMABLS096359@freefall.freebsd.org>

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

>Number:         167809
>Category:       ports
>Synopsis:       lang/squeak incomplete plist when libGL is installed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 11 22:10:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Pawel Pekala
>Release:        10.0-CURRENT
>Organization:
>Environment:
FreeBSD blaviken.slowicza.org 10.0-CURRENT FreeBSD 10.0-CURRENT #1: Sat May  5 13:30:03 CEST 2012     corn@blaviken.slowicza.org:/usr/obj/usr/src/sys/BLAVIKEN  i386

>Description:
When graphics/libGL is installed (any desktop system I guess) port builds additonal plugin - B3DAcceleratorPlugin. This means that plist is incomplete:

[corn:~]# pkg_delete squeak-4.4.7/
pkg_delete: unable to completely remove directory '/usr/local/lib/squeak/4.4.7-2375'
pkg_delete: unable to completely remove directory '/usr/local/lib/squeak'
pkg_delete: couldn't entirely delete package `squeak-4.4.7'
(perhaps the packing list is incorrectly specified?)
[corn:~]# ls -l /usr/local/lib/squeak/4.4.7-2375/
total 58
-rwxr-xr-x  1 root  wheel  58920 11 maj 23:58 so.B3DAcceleratorPlugin

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -urN /usr/ports/lang/squeak/Makefile ./Makefile
--- /usr/ports/lang/squeak/Makefile	2012-04-20 19:18:25.000000000 +0200
+++ ./Makefile	2012-05-11 23:25:19.000000000 +0200
@@ -7,6 +7,7 @@
 
 PORTNAME=		squeak
 PORTVERSION=		4.4.7
+PORTREVISION=		1
 CATEGORIES=		lang
 ##################################################
 MASTER_SITES=		http://www.squeakvm.org/unix/release/:vmsrc \
@@ -46,6 +47,7 @@
 ONLY_FOR_ARCHS=		i386
 MAN1=			squeak.1
 USE_GMAKE=		yes
+USE_GL=			gl
 HAS_CONFIGURE=		yes
 
 # Plugin image must be writable, because of it copy to user's ~/.npsqueak/ and
diff -urN /usr/ports/lang/squeak/pkg-plist ./pkg-plist
--- /usr/ports/lang/squeak/pkg-plist	2012-04-20 19:18:25.000000000 +0200
+++ ./pkg-plist	2012-05-11 23:32:10.000000000 +0200
@@ -1,6 +1,7 @@
 bin/squeak
 bin/squeak.sh
 lib/squeak/%%SQUEAK_LIB_DIR%%/so.AioPlugin
+lib/squeak/%%SQUEAK_LIB_DIR%%/so.B3DAcceleratorPlugin
 lib/squeak/%%SQUEAK_LIB_DIR%%/so.ClipboardExtendedPlugin
 lib/squeak/%%SQUEAK_LIB_DIR%%/so.DBusPlugin
 lib/squeak/%%SQUEAK_LIB_DIR%%/so.FileCopyPlugin


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



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