From owner-freebsd-ports-bugs@FreeBSD.ORG Sat May 26 07:30:02 2012 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 C5B011065673 for ; Sat, 26 May 2012 07:30:02 +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 7FAC88FC0C for ; Sat, 26 May 2012 07:30:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q4Q7U2jc091065 for ; Sat, 26 May 2012 07:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4Q7U2XB091064; Sat, 26 May 2012 07:30:02 GMT (envelope-from gnats) Resent-Date: Sat, 26 May 2012 07:30:02 GMT Resent-Message-Id: <201205260730.q4Q7U2XB091064@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, Thomas Zander Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB968106566B for ; Sat, 26 May 2012 07:23:15 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 969918FC16 for ; Sat, 26 May 2012 07:23:15 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q4Q7NFR6048540 for ; Sat, 26 May 2012 07:23:15 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q4Q7NFGQ048539; Sat, 26 May 2012 07:23:15 GMT (envelope-from nobody) Message-Id: <201205260723.q4Q7NFGQ048539@red.freebsd.org> Date: Sat, 26 May 2012 07:23:15 GMT From: Thomas Zander To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/168344: ogmtools disregards OPTIONS since recent ports upgrade 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: Sat, 26 May 2012 07:30:02 -0000 >Number: 168344 >Category: ports >Synopsis: ogmtools disregards OPTIONS since recent ports upgrade >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat May 26 07:30:02 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Thomas Zander >Release: FreeBSD 9.0-STABLE >Organization: >Environment: >Description: Some recent change in bsd.ports.mk (I assume) requires OPTIONS to be placed earlier than .include in the port Makefile. This causes ogmtools to not install dvdxchap even if specifically configured by the user. >How-To-Repeat: >Fix: Attached patch resolves the problem for ogmtools. Patch attached with submission follows: diff -ruN /usr/ports/multimedia/ogmtools/Makefile ogmtools/Makefile --- /usr/ports/multimedia/ogmtools/Makefile 2012-04-11 18:24:16.000000000 +0200 +++ ogmtools/Makefile 2012-05-26 09:10:44.803741206 +0200 @@ -46,10 +46,10 @@ 's!malloc.h!stdlib.h!; \ s|stdint.h|inttypes.h|' -.include - OPTIONS= DVDREAD "DVD title chapter extraction via libdvdread" on +.include + .ifdef(WITH_DVDREAD) LIB_DEPENDS+= dvdread.4:${PORTSDIR}/multimedia/libdvdread >Release-Note: >Audit-Trail: >Unformatted: