From owner-freebsd-ports Wed Apr 3 11: 0:23 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id AE2BB37B41B for ; Wed, 3 Apr 2002 11:00:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g33J02j48694; Wed, 3 Apr 2002 11:00:02 -0800 (PST) (envelope-from gnats) Received: from bilbo.vpop.net (bilbo.vpop.net [65.103.33.41]) by hub.freebsd.org (Postfix) with ESMTP id 8377637B41D for ; Wed, 3 Apr 2002 10:57:12 -0800 (PST) Received: (from mreimer@localhost) by bilbo.vpop.net (8.11.6/8.11.6) id g33Iwef71158; Wed, 3 Apr 2002 12:58:40 -0600 (CST) (envelope-from mreimer) Message-Id: <200204031858.g33Iwef71158@bilbo.vpop.net> Date: Wed, 3 Apr 2002 12:58:40 -0600 (CST) From: Matthew Reimer To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/36703: patch: transcode doesn't build with libdv Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36703 >Category: ports >Synopsis: patch: transcode doesn't build with libdv >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Apr 03 11:00:02 PST 2002 >Closed-Date: >Last-Modified: >Originator: Matthew Reimer >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: System: FreeBSD bilbo.vpop.net 4.5-STABLE FreeBSD 4.5-STABLE #3: Sat Feb 9 13:49:46 CST 2002 mreimer@bilbo.vpop.net:/usr/obj/usr/src/sys/BILBO i386 >Description: transcode's configure doesn't find libdv because it fails to link in -ldl. Enclosed is a new patch-ag. Also, the port's Makefile has a couple of typos; patch Makefile.orig included. >How-To-Repeat: cd /usr/ports/graphics/transcode make WITH_LIBDV=1 >Fix: Apply enclosed patches. --- configure Thu Dec 13 13:17:56 2001 +++ configure Wed Apr 3 12:42:10 2002 @@ -10724,8 +10724,8 @@ dv_libs="" fi; -EXTRA_LIBS="$LIBS $GLIB_LIBS -ldl -lm" -DV_EXTRA_LIBS="$GLIB_LIBS -ldl -lm" +EXTRA_LIBS="$LIBS $GLIB_LIBS -lm" +DV_EXTRA_LIBS="$GLIB_LIBS -lm" if test x$with_dv = "x"yes ; then @@ -10747,7 +10747,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-ldv -L$with_dv_l -ldv ${EXTRA_LIBS} $LIBS" +LIBS="-ldv -L$with_dv_l -ldv ${EXTRA_LIBS} $LIBS -llthread" cat >conftest.$ac_ext <<_ACEOF #line 10752 "configure" #include "confdefs.h" --- Makefile.orig Sat Mar 30 06:17:47 2002 +++ Makefile Wed Apr 3 12:43:23 2002 @@ -68,10 +68,10 @@ .endif .if !defined(WITH_LIBA52) @${ECHO_MSG} - @${ECHO_MSG} "You can enable liba52 support by defining WITH_LIBDV" + @${ECHO_MSG} "You can enable liba52 support by defining WITH_LIBA52" .else @${ECHO_MSG} - @${ECHO_MSG} "You enabled liba52 support by defining WITH_LIBDV" + @${ECHO_MSG} "You enabled liba52 support by defining WITH_LIBA52" .endif .if defined(WITHOUT_AVIFILE) @${ECHO_MSG} @@ -83,10 +83,10 @@ .if !defined(WITH_NASM) @${ECHO_MSG} - @${ECHO_MSG} "You can enable the nasm dependent moduley by defining WITH_NASM" + @${ECHO_MSG} "You can enable the nasm dependent modules by defining WITH_NASM" .else @${ECHO_MSG} - @${ECHO_MSG} "You enabled nsdm support by defining WITH_NASM" + @${ECHO_MSG} "You enabled nasm support by defining WITH_NASM" .endif(WITH_NASM) .include >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message