Summary: | [patch] x11/rxvt: Wrong operators in Makefile | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | WATANABE Kazuhiro <CQG00620> | ||||
Component: | Individual Port(s) | Assignee: | Eitan Adler <eadler> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | ||||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
WATANABE Kazuhiro
2012-11-12 13:00:00 UTC
Responsible Changed From-To: freebsd-ports-bugs->eadler I'll take it. State Changed From-To: open->closed committed, sorry I forgot to include the PR number and submitter name in the commit message :( Hello. Thanks for your work! But a major problem still remains. (fixed manually?) Now x11/rxvt/Makefile has the following lines: | CONFIGURE_ARGS= --enable-ttygid \ | --with-xpm --enable-xpm-background \ | --with-xpm-includes=${LOCALBASE}/include/X11 \ | --with-xpm-library=${LOCALBASE}/lib | MAN1= rxvt.1 | PLIST_FILES= bin/rxvt | | MAKE_JOBS_SAFE= yes | | .include <bsd.port.pre.mk> | | # fails to build with new utmpx | .if ${OSVERSION} > 900007 | CONFIGURE_ARGS= --disable-utmp --disable-wtmp | .else | CONFIGURE_ARGS= --enable-utmp --enable-wtmp | .endif First, plenty of configure options are assigned to a CONFIGURE_ARGS variable. And then the .if-.endif conditional uses "CONFIGURE_ARGS=". In this case, the first value of CONFIGURE_ARGS variable is completely deleted. It loses a lot of XPM-related configure options; therefore rxvt's "background image" feature has been lost. In the conditional, we should use "CONFIGURE_ARGS+=" instead of "CONFIGURE_ARGS=". Please see my original patch. Sorry for my bad explanation and english... At Tue, 13 Nov 2012 01:06:35 GMT, eadler@FreeBSD.org wrote: > Synopsis: [patch] x11/rxvt: Wrong operators in Makefile > > State-Changed-From-To: open->closed > State-Changed-By: eadler > State-Changed-When: Tue Nov 13 01:06:34 UTC 2012 > State-Changed-Why: > committed, sorry I forgot to include the PR number and submitter name in > the commit message :( Don't mind :-) > > http://www.freebsd.org/cgi/query-pr.cgi?pr=173576 --- WATANABE Kazuhiro (CQG00620@nifty.ne.jp) On 13 November 2012 07:59, WATANABE Kazuhiro <CQG00620@nifty.ne.jp> wrote: > Hello. > > Thanks for your work! But a major problem still remains. > (fixed manually?) The patch in the PR didn't apply so I fixed it manually. Obviously I missed something. > In the conditional, we should use "CONFIGURE_ARGS+=" instead of > "CONFIGURE_ARGS=". Please see my original patch. Okay. I shall fix shortly. > Sorry for my bad explanation and english... Your explanation and English is perfectly fine. -- Eitan Adler Source, Ports, Doc committer Bugmeister, Ports Security teams |