Date: Wed, 4 Mar 2009 15:48:43 -0900 (AKST) From: Mel <mel@rachie.is-a-geek.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: MAINTAINER <beech@FreeBSD.org> Subject: ports/132316: [PATCH] net/x11vnc: Fix jpeg detection Message-ID: <20090305004843.9F6BF3502C@squish.rachie.is-a-geek.net> Resent-Message-ID: <200903050120.n251K3CZ037656@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 132316 >Category: ports >Synopsis: [PATCH] net/x11vnc: Fix jpeg detection >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: Thu Mar 05 01:20:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Mel >Release: FreeBSD 7.1-STABLE i386 >Organization: >Environment: System: FreeBSD squish.rachie.is-a-geek.net 7.1-STABLE FreeBSD 7.1-STABLE #7: Sun Feb 8 17:45:44 AKST 2009 root@squish.rachie.is-a-geek.net:/data/obj/data/RELENG_7/src/sys/GENERIC-ICHSMB i386 >Description: Because openssl sets LDFLAGS in CONFIGURE_ENV the CONFIGURE_ENV set by x11vnc's Makefile is ignored. As a result, jpeg is not detected during configure stage. >How-To-Repeat: make -C /usr/ports/net/x11vnc configure and watch for the jpeg_CreateCompression error message. Also check make -C /usr/ports/net/x11vnc -V CONFIGURE_ENV >Fix: --- patch-net%x11vnc%Makefile begins here --- Index: net/x11vnc/Makefile =================================================================== RCS file: /home/ncvs/ports/net/x11vnc/Makefile,v retrieving revision 1.23 diff -u -r1.23 Makefile --- net/x11vnc/Makefile 25 Jan 2009 10:26:06 -0000 1.23 +++ net/x11vnc/Makefile 5 Mar 2009 00:39:59 -0000 @@ -20,12 +20,13 @@ USE_GNOME= gnometarget USE_XORG= x11 xdamage xfixes xrandr xinerama xext xtst xau xrender xdmcp recordproto +# Sets LDFLAGS and adds to CONFIGURE_ENV, therefore we set LDFLAGS +LDFLAGS+= -L${LOCALBASE}/lib USE_OPENSSL= yes USE_ICONV= yes USE_GETTEXT= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" MAN1= x11vnc.1 PORTDOCS= AUTHORS COPYING ChangeLog NEWS README README.LibVNCServer TODO --- patch-net%x11vnc%Makefile ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090305004843.9F6BF3502C>