Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jul 2004 16:16:12 +0200 (CEST)
From:      Tobias Roth <ports@fsck.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/69299: [PATCH] missing dependency for www/linux-flashplugin
Message-ID:  <200407191416.i6JEGCC8010271@secure.socket.ch>
Resent-Message-ID: <200407191420.i6JEKI67065131@freefall.freebsd.org>

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

>Number:         69299
>Category:       ports
>Synopsis:       [PATCH] missing dependency for www/linux-flashplugin
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 19 14:20:18 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Tobias Roth
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD localhost 5.2-CURRENT FreeBSD 5.2-CURRENT #10: Wed May 26 19:30:57 CEST 2004 toor@localhost:/usr/obj/usr/src/sys/FOOBAR i386

>Description:
www/linux-flashplugin misses the dependency devel/linuxthreads.

>How-To-Repeat:
install www/linux-flashplugin, possibly together with www/linuxpluginwrapper,
and make sure you do not have devel/linuxthreads. run your browser and
verify that the plugin does not work. then install devel/linuxthreads and
verify that everthing works fine now.

>Fix:
--- Makefile.orig       Mon Jul 19 15:59:46 2004
+++ Makefile    Mon Jul 19 16:04:19 2004
@@ -17,6 +17,14 @@
 MAINTAINER=    ports@brandon.dvalentine.com
 COMMENT=       The official Macromedia Flash Player for Linux Mozilla and Netscape 6+
 
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500035
+LIB_DEPENDS=   lthread.3:${PORTSDIR}/devel/linuxthreads
+.else
+LIB_DEPENDS=   lthread.2:${PORTSDIR}/devel/linuxthreads
+.endif
+
 ONLY_FOR_ARCHS=        i386
 USE_LINUX=     yes
 
@@ -47,4 +55,4 @@
        @${INSTALL_DATA} ${WRKSRC}/readme.htm ${DOCSDIR}
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



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