From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Mar 5 01:20:03 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7EA8A106566B for ; Thu, 5 Mar 2009 01:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5AD8A8FC33 for ; Thu, 5 Mar 2009 01:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n251K3vF037657 for ; Thu, 5 Mar 2009 01:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n251K3CZ037656; Thu, 5 Mar 2009 01:20:03 GMT (envelope-from gnats) Resent-Date: Thu, 5 Mar 2009 01:20:03 GMT Resent-Message-Id: <200903050120.n251K3CZ037656@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mel Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF899106566B; Thu, 5 Mar 2009 01:15:27 +0000 (UTC) (envelope-from mdev@squish.rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id BFAA98FC14; Thu, 5 Mar 2009 01:15:26 +0000 (UTC) (envelope-from mdev@squish.rachie.is-a-geek.net) Received: from squish.rachie.is-a-geek.net (squish.lan.rachie.is-a-geek.net [192.168.2.70]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id A1BFFAFC1FE; Wed, 4 Mar 2009 15:58:30 -0900 (AKST) Received: by squish.rachie.is-a-geek.net (Postfix, from userid 1002) id 9F6BF3502C; Wed, 4 Mar 2009 15:48:43 -0900 (AKST) Message-Id: <20090305004843.9F6BF3502C@squish.rachie.is-a-geek.net> Date: Wed, 4 Mar 2009 15:48:43 -0900 (AKST) From: Mel To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: MAINTAINER Subject: ports/132316: [PATCH] net/x11vnc: Fix jpeg detection X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2009 01:20:04 -0000 >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: