ports/50680: Build options in /www/links/Makefile.local are ignored
Petr Rehor
rx at rx.cz
Mon Apr 7 14:50:18 UTC 2003
>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 at 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 at noc.decros.cz:/usr/ports/www/links# cat Makefile.local
WITHOUT_X11=true
reho at 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:
More information about the freebsd-ports-bugs
mailing list