Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Apr 2002 12:58:40 -0600 (CST)
From:      Matthew Reimer <mreimer@vpop.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/36703: patch: transcode doesn't build with libdv
Message-ID:  <200204031858.g33Iwef71158@bilbo.vpop.net>

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

>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 <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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