ports/69299: [PATCH] missing dependency for www/linux-flashplugin
Tobias Roth
ports at fsck.ch
Mon Jul 19 14:20:19 UTC 2004
>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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list