Date: Tue, 25 Feb 2003 00:56:42 +0900 From: KAWATA Masahiko <kawata@mta.biglobe.ne.jp> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/48636: Build options in Makefile.local are ignored Message-ID: <20030225005633.59FB.KAWATA@mta.biglobe.ne.jp>
next in thread | raw e-mail | index | archive | help
>Number: 48636 >Category: ports >Synopsis: Build options in Makefile.local are ignored >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Feb 24 08:00:27 PST 2003 >Closed-Date: >Last-Modified: >Originator: KAWATA Masahiko >Release: FreeBSD 4.7-STABLEE i386 >Organization: >Environment: FreeBSD coco 4.7-STABLE FreeBSD 4.7-STABLE #28: Fri Feb 21 18:30:35 JST 2003 kawata:/usr/src/sys/compile/COCO i386 >Description: To specify local build options, I use Makefile.local instead of command line. In many other ports this way is effective but it's ignored in sane-backends port. >How-To-Repeat: [/usr/ports/graphics/sane-backends]% cat Makefile.local WITH_GPHOTO2=yes [/usr/ports/graphics/sane-backends]% make >Fix: Use <bsd.port.(pre|post).mk> instead of <bsd.port.mk> -------- # diff -u Makefile.orig Makefile --- Makefile.orig Wed Feb 19 12:15:25 2003 +++ Makefile Mon Feb 24 19:13:24 2003 @@ -28,6 +28,8 @@ MAKE_ENV= NOPORTDOCS=${NOPORTDOCS} INSTALLS_SHLIB= yes +.include <bsd.port.pre.mk> + .if defined(WITH_GPHOTO2) LIB_DEPENDS+= gphoto2.2:${PORTSDIR}/graphics/gphoto2 CONFIGURE_ARGS+= --with-gphoto2=yes @@ -49,4 +51,4 @@ s|gphoto2 2.0.1|gphoto2 2.0|g' ${WRKSRC}/configure .include "Makefile.man" -.include <bsd.port.mk> +.include <bsd.port.post.mk> >Release-Note: >Audit-Trail: >Unformatted: SEND-PR: -*- send-pr -*- SEND-PR: Lines starting with `SEND-PR' will be removed automatically, as SEND-PR: will all comments (text enclosed in `<' and `>'). SEND-PR: SEND-PR: Please consult the following URL if you are not sure how to SEND-PR: fill out a problem report: SEND-PR: http://www.freebsd.org/doc/en/articles/problem-reports/article.html SEND-PR: SEND-PR: Note that the Synopsis field is mandatory. SEND-PR: SEND-PR: Please note that (unless you state otherwise) if your report SEND-PR: includes a patch then it will be taken under the same license as SEND-PR: the one on the file(s) you want to change. SEND-PR: SEND-PR: BE ADVISED THAT FREEBSD PROBLEM REPORTS ARE PUBLIC INFORMATION AND SEND-PR: WILL BE PUBLISHED AS-IS ON THE PROJECT'S MAILING LISTS AND WEB SITES. SEND-PR: DO NOT SUBMIT ANY INFORMATION YOU DO NOT WANT MADE PUBLIC. SEND-PR: SEND-PR: For sensitive security issues, consider contacting the FreeBSD SEND-PR: security officer team (security-officer@freebsd.org) directly. SEND-PR: SEND-PR: Choose from the following categories: SEND-PR: SEND-PR: advocacy alpha bin conf docs gnu SEND-PR: i386 ia64 java kern misc ports SEND-PR: powerpc sparc64 standards www SEND-PR: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030225005633.59FB.KAWATA>