Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 May 2012 07:23:15 GMT
From:      Thomas Zander <thomas.e.zander@googlemail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/168344: ogmtools disregards OPTIONS since recent ports upgrade
Message-ID:  <201205260723.q4Q7NFGQ048539@red.freebsd.org>
Resent-Message-ID: <201205260730.q4Q7U2XB091064@freefall.freebsd.org>

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

>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 <bsd.port.pre.mk>
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 <bsd.port.pre.mk>
-
 OPTIONS=	DVDREAD "DVD title chapter extraction via libdvdread" on
 
+.include <bsd.port.pre.mk>
+
 .ifdef(WITH_DVDREAD)
 LIB_DEPENDS+=	dvdread.4:${PORTSDIR}/multimedia/libdvdread
 


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



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