From owner-freebsd-ports@FreeBSD.ORG Fri Aug 13 18:56:23 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4BB916A4CE; Fri, 13 Aug 2004 18:56:23 +0000 (GMT) Received: from mail.mcneil.com (rrcs-west-24-199-45-54.biz.rr.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9206143D2D; Fri, 13 Aug 2004 18:56:21 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id C25A1FD02B; Fri, 13 Aug 2004 11:56:20 -0700 (PDT) Received: from mail.mcneil.com ([127.0.0.1]) by localhost (server.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16248-04; Fri, 13 Aug 2004 11:56:20 -0700 (PDT) Received: from [24.199.45.54] (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id E243AFD026; Fri, 13 Aug 2004 11:56:19 -0700 (PDT) From: Sean McNeil To: dinoex@FreeBSD.org Content-Type: text/plain Message-Id: <1092423379.58894.3.camel@server.mcneil.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Fri, 13 Aug 2004 11:56:19 -0700 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mcneil.com cc: freebsd-ports@freebsd.org Subject: vlc with -CURRENT X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Aug 2004 18:56:23 -0000 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