Date: Mon, 7 Apr 2003 16:43:11 +0200 (CEST) From: Petr Rehor <rx@rx.cz> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/50680: Build options in /www/links/Makefile.local are ignored Message-ID: <200304071443.h37EhB8r045744@noc.decros.cz> Resent-Message-ID: <200304071450.h37EoGOq088782@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 50680 >Category: ports >Synopsis: Build options in /www/links/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 Apr 07 07:50:15 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Petr Rehor >Release: FreeBSD 4.8-RELEASE i386 >Organization: >Environment: System: FreeBSD noc.decros.cz 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Tue Apr 1 20:36:52 CEST 2003 reho@noc.decros.cz:/usr/obj/usr/src/sys/NOC 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 www/links port. >How-To-Repeat: reho@noc.decros.cz:/usr/ports/www/links# cat Makefile.local WITHOUT_X11=true reho@noc.decros.cz:/usr/ports/www/links# make >Fix: Use <bsd.port.(pre|post).mk> instead of <bsd.port.mk> --- Makefile.diff begins here --- --- Makefile.orig Mon Apr 7 16:17:01 2003 +++ Makefile Mon Apr 7 16:17:29 2003 @@ -23,6 +23,8 @@ USE_BZIP2= yes USE_REINPLACE= yes +.include <bsd.port.pre.mk> + .if !defined(WITHOUT_X11) LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png \ jpeg.9:${PORTSDIR}/graphics/jpeg \ @@ -39,4 +41,4 @@ post-patch: @${REINPLACE_CMD} -e "s!/etc/!${PREFIX}/etc/!" ${WRKSRC}/default.c -.include <bsd.port.mk> +.include <bsd.port.post.mk> --- Makefile.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304071443.h37EhB8r045744>