ports/114792: [patch] bad dependencies in audio/tuxguitar

Olivier Smedts olivier at gid0.org
Sat Jul 21 10:50:02 UTC 2007


>Number:         114792
>Category:       ports
>Synopsis:       [patch] bad dependencies in audio/tuxguitar
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 21 10:50:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Olivier Smedts
>Release:        6.2-STABLE
>Organization:
gid0.org
>Environment:
FreeBSD z.gid0.org 6.2-STABLE FreeBSD 6.2-STABLE #0: Sat Jul 14 22:13:35 CEST 2007     root at z.gid0.org:/work/obj/work/src/sys/XPC  i386

>Description:
audio/tuxguitar not only BUILD_DEPENDS on x11-toolkits/swt and devel/itext, it RUN_DEPENDS on these too.
>How-To-Repeat:
# cd /usr/ports/audio/tuxguitar/
# make install clean
# pkg_delete swt-3.2.2_1
% tuxguitar
Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Layout
# pkg_delete itext-2.0.4,1
% tuxguitar
Exception in thread "main" java.lang.NoClassDefFoundError: com/lowagie/text/BadElementException

>Fix:
I tested, it needs swt and itext in both BUILD and RUN.

--- Makefile.old        Sat Jul 21 12:34:46 2007
+++ Makefile    Sat Jul 21 12:38:10 2007
@@ -19,6 +19,9 @@
 BUILD_DEPENDS= ${JAVALIBDIR}/swt.jar:${PORTSDIR}/x11-toolkits/swt \
 		${JAVALIBDIR}/itext.jar:${PORTSDIR}/devel/itext
 
+RUN_DEPENDS=   ${JAVALIBDIR}/swt.jar:${PORTSDIR}/x11-toolkits/swt \
+		${JAVALIBDIR}/itext.jar:${PORTSDIR}/devel/itext
+
 WRKSRC=		${WRKDIR}/TuxGuitar-0.9.1-src
 
 USE_JAVA=	yes


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



More information about the freebsd-ports-bugs mailing list