Date: Fri, 13 Aug 2004 11:56:19 -0700 From: Sean McNeil <sean@mcneil.com> To: dinoex@FreeBSD.org Cc: freebsd-ports@freebsd.org Subject: vlc with -CURRENT Message-ID: <1092423379.58894.3.camel@server.mcneil.com>
next in thread | raw e-mail | index | archive | help
I do not understand why the vlc port is turned off for OSVERSION >= 502010 nor why -lpthread is replaced with -lpthread-broken. I believe the appropriate thing would be to replace -lpthread with -pthread. This should work for everyone (I think) and might have been broken for -CURRENT but only for a short period of time. At least the following change works for me with -CURRENT right now. Cheers, Sean *** /root/vlc.Makefile Thu Aug 12 19:32:42 2004 --- /usr/ports/multimedia/vlc/Makefile Sun Jul 25 07:10:25 2004 *************** PLIST_FILES+= lib/vlc/libi420_rgb_mmx.a *** 322,327 **** --- 322,330 ---- lib/vlc/libmemcpymmxext.a .endif + .if ${OSVERSION} >= 502010 + BROKEN= "conflicts with new threads architecture" + .endif .if ${ARCH} == "alpha" && ${OSVERSION} < 500000 # libstdc++.a(eh_terminate.o): gp-relative relocation against dynamic symbol __cxxabiv1::__terminate_handler BROKEN= "gp-relative relocation against dynamic symbol" *************** pre-everything:: *** 334,340 **** @${ECHO_MSG} "For example, make WITH_AUTODETECT=yes" post-patch: ! @${REINPLACE_CMD} -e 's/-lpthread/-pthread/' \ -e 's/-lc_r/${PTHREAD_LIBS}/' \ -e 's|postproc/postprocess.h|ffmpeg/postproc/postprocess.h|' \ ${WRKSRC}/configure --- 337,343 ---- @${ECHO_MSG} "For example, make WITH_AUTODETECT=yes" post-patch: ! @${REINPLACE_CMD} -e 's/-lpthread/-lpthread-broken/' \ -e 's/-lc_r/${PTHREAD_LIBS}/' \ -e 's|postproc/postprocess.h|ffmpeg/postproc/postprocess.h|' \ ${WRKSRC}/configure
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1092423379.58894.3.camel>