Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Aug 2011 14:13:47 GMT
From:      Vladimir Pushkar <vladimir.pushkar@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/159996: multimedia/ffmpegthumbnailer doesn't link with libjpeg.so library
Message-ID:  <201108221413.p7MEDlWB092974@red.freebsd.org>
Resent-Message-ID: <201108221420.p7MEK8bN005689@freefall.freebsd.org>

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

>Number:         159996
>Category:       ports
>Synopsis:       multimedia/ffmpegthumbnailer doesn't link with libjpeg.so library
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 22 14:20:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Vladimir Pushkar
>Release:        8.2-STABLE
>Organization:
Digital Ventures LLC
>Environment:
FreeBSD nox.dvdev.org.ua 8.2-STABLE FreeBSD 8.2-STABLE #18: Thu Aug 11 11:09:40 EEST 2011     root@nox.dvdev.org.ua:/usr/obj/usr/src/sys/NOX  amd64

>Description:
ffmpegthumbnailer-2.0.4_2 doesn't link with libjpeg library.
>How-To-Repeat:
install ffmpegthumbnailer-2.0.4_2 via ports
>Fix:
apply attached path to your ffmpegthumbnailer port Makefile

Patch attached with submission follows:

--- Makefile.orig	2011-07-06 00:46:07.000000000 +0300
+++ Makefile	2011-08-22 17:04:01.000000000 +0300
@@ -17,7 +17,8 @@
 		swscale:${PORTSDIR}/multimedia/ffmpeg \
 		jpeg.11:${PORTSDIR}/graphics/jpeg
 
-CONFIGURE_ENV=	LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib"
+CONFIGURE_ENV=	CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
+		LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib"
 CONFIGURE_ARGS=	--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
 
 GNU_CONFIGURE=	yes


>Release-Note:
>Audit-Trail:
>Unformatted:



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