Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jun 2008 23:34:32 GMT
From:      Warren Block <wblock@wonkity.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/125129: [patch] graphics/autotrace options setting ignored
Message-ID:  <200806302334.m5UNYWqj076916@www.freebsd.org>
Resent-Message-ID: <200806302340.m5UNe11d077928@freefall.freebsd.org>

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

>Number:         125129
>Category:       ports
>Synopsis:       [patch] graphics/autotrace options setting ignored
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 30 23:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Warren Block
>Release:        7-STABLE
>Organization:
>Environment:
FreeBSD speedy.wonkity.com 7.0-STABLE FreeBSD 7.0-STABLE #0: Mon Jun 23 09:20:32 MDT 2008     root@speedy.wonkity.com:/usr/obj/usr/src/sys/SPEEDY  i386
>Description:
graphics/autotrace port has OPTIONS setting in the Makefile, but the options are ignored due to missing .include <bsd.port.pre.mk> statement.
>How-To-Repeat:
cd /usr/ports/graphics/autotrace
make config
  disable MING option
make
  ...and watch it try to include /usr/ports/graphics/ming anyway
>Fix:
Apply patch.


Patch attached with submission follows:

--- Makefile.orig	2008-06-30 16:53:59.000000000 -0600
+++ Makefile	2008-06-30 17:24:19.000000000 -0600
@@ -27,6 +27,8 @@
 OPTIONS=	MING "Enable swf interface" on \
 		PSTOEDIT "Convert postscript to other formats" on
 
+.include <bsd.port.pre.mk>
+
 .if !defined (WITHOUT_MING)
 LIB_DEPENDS+=	ming.4:${PORTSDIR}/graphics/ming
 CONFIGURE_ENV?=	CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/ming"
@@ -47,4 +49,4 @@
 		/^PSTOEDIT_CONFIG=/ s|=.*$$|=pkg-config| ' ${WRKSRC}/configure
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>


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



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