Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Aug 2008 11:06:52 GMT
From:      Gergely Czuczy <phoemix@harmless.hu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/126235: multimedia/kdemultimedia3's akode files are indepedent of the akode option
Message-ID:  <200808041106.m74B6qjB008488@www.freebsd.org>
Resent-Message-ID: <200808041110.m74BA1vf084754@freefall.freebsd.org>

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

>Number:         126235
>Category:       ports
>Synopsis:       multimedia/kdemultimedia3's akode files are indepedent of the akode option
>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:   Mon Aug 04 11:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Gergely Czuczy
>Release:        FreeBSD 7.0-STABLE
>Organization:
-
>Environment:
FreeBSD pointyhat.in.publishing.hu 7.0-STABLE FreeBSD 7.0-STABLE #0: Fri Jul 11 09:57:46 CEST 2008     toor@luggage.in.publishing.hu:/usr/obj/usr/src/sys/LUGGAGE  i386

>Description:
multimedia/kdemultimedia3 has some options, like whether to build AKODE or not.
in the pkg-plist file, akode's files are static, and independent of this settings.
that means, when akode is turned off, it's not built, but pkg-plist will still look for them.
>How-To-Repeat:
1) turn off AKODE
2) make deinstall clean package
>Fix:
Makefile:
 .if !defined(WITHOUT_AKODE)
 LIB_DEPENDS+=   akode:${PORTSDIR}/audio/akode
 RUN_DEPENDS+=   ${LOCALBASE}/lib/libakode.so:${PORTSDIR}/audio/akode
+PLIST_SUB+=     AKODE=""
 .else
 DO_NOT_COMPILE+=akode_artsplugin
+PLIST_SUB+=     AKODE="@comment "
 .endif

pkg-plist
 lib/mcop/VoiceRemoval.mcopclass
+%%AKODE%%lib/mcop/akodeMPCPlayObject.mcopclass
+%%AKODE%%lib/mcop/akodeMPEGPlayObject.mcopclass
+%%AKODE%%lib/mcop/akodePlayObject.mcopclass
+%%AKODE%%lib/mcop/akodeSpeexStreamPlayObject.mcopclass
+%%AKODE%%lib/mcop/akodeVorbisStreamPlayObject.mcopclass
+%%AKODE%%lib/mcop/akodeXiphPlayObject.mcopclass
+%%AKODE%%lib/mcop/akodearts.mcopclass
+%%AKODE%%lib/mcop/akodearts.mcoptype
 lib/mcop/artsbuilder.mcopclass


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



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