ports/147131: [patch] textproc/xmlto: use `?=' for *_CMD like Mk/bsd.commands.mk does
Anonymous
swell.k at gmail.com
Thu May 27 13:30:04 UTC 2010
>Number: 147131
>Category: ports
>Synopsis: [patch] textproc/xmlto: use `?=' for *_CMD like Mk/bsd.commands.mk does
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu May 27 13:30:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Anonymous
>Release: FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
bash is a symlink to zsh
BASH_CMD=$HOME/.bin/bash
>Description:
Allow overriding *_CMD variables in make.conf. Since make.conf is read
after Makefile use weak `?='.
>How-To-Repeat:
>Fix:
--- a.diff begins here ---
Index: textproc/xmlto/Makefile
===================================================================
RCS file: /a/.cvsup/ports/textproc/xmlto/Makefile,v
retrieving revision 1.22
diff -u -p -r1.22 Makefile
--- textproc/xmlto/Makefile 23 Dec 2009 17:28:25 -0000 1.22
+++ textproc/xmlto/Makefile 27 May 2010 13:19:44 -0000
@@ -32,10 +32,10 @@ USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= BASH=${BASH_CMD} GETOPT=${GETOPT_CMD} PDFXMLTEX=${PDFXMLTEX_CMD}
-BASH_CMD= ${LOCALBASE}/bin/bash
-GETOPT_CMD= ${LOCALBASE}/bin/getopt
+BASH_CMD?= ${LOCALBASE}/bin/bash
+GETOPT_CMD?= ${LOCALBASE}/bin/getopt
XSL_DIR= ${LOCALBASE}/share/xsl/docbook
-PDFXMLTEX_CMD= ${LOCALBASE}/bin/pdftex
+PDFXMLTEX_CMD?= ${LOCALBASE}/bin/pdftex
MAN1= xmlif.1 xmlto.1
PORTDOCS= AUTHORS COPYING ChangeLog NEWS THANKS
--- a.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list