Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Oct 2007 01:33:56 GMT
From:      bf <bf2006a@yahoo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/117438: x11-wm/vtwm: recent changes break make index, make describe on 6.2-Stable
Message-ID:  <200710240133.l9O1XuF7024437@www.freebsd.org>
Resent-Message-ID: <200710240140.l9O1e22R009358@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         117438
>Category:       ports
>Synopsis:       x11-wm/vtwm: recent changes break make index, make describe on 6.2-Stable
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 24 01:40:02 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     bf
>Release:        6.2-stable i386
>Organization:
--
>Environment:
>Description:
Recent changes to the port makefile break make index, make describe (were they tested before being submitted/committed??):

Generating INDEX-6 - please wait.."Makefile", line 39: Unassociated shell command "@${REINPLACE_CMD} -i "" -e  's:^XCOMM  NO_I18N_SUPPORT: NO_I18N_SUPPORT:' ${WRKSRC}/Imakefile"
make: fatal errors encountered -- cannot continue
===> x11-wm/vtwm failed
*** Error code 1
1 error

********************************************************************
Before reporting this error, verify that you are running a supported
version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you
have a complete and up-to-date ports collection.  (INDEX builds are
not supported with partial or out-of-date ports collections -- in
particular, if you are using cvsup, you must cvsup the "ports-all"
collection, and have no "refuse" files.)  If that is the case, then
report the failure to ports@FreeBSD.org together with relevant
details of your ports configuration (including FreeBSD version,
your architecture, your environment, and your /etc/make.conf
settings, especially compiler flags and WITH/WITHOUT settings).

Note: the latest pre-generated version of INDEX may be fetched
automatically with "make fetchindex".
********************************************************************

*** Error code 1

Stop in /usr/ports.
*** Error code 1

Stop in /usr/ports.



  Here is one way of fixing the problem (I'm sure there are others):

Replace, in the port Makefile, the lines:

post-patch:
.if defined(WITHOUT_SOUND)
	@${REINPLACE_CMD} -i "" -e \
		's:^XCOMM NO_SOUND_SUPPORT: NO_SOUND_SUPPORT:; \
		s:^SOUNDLIB:XCOMM SOUNDLIB:; \
		s:^SOUNDINC:XCOMM SOUNDINC: ' ${WRKSRC}/Imakefile
.else
LIB_DEPENDS+=	rplay.1:${PORTSDIR}/audio/rplay
.endif

.if defined(WITHOUT_NLS)
	@${REINPLACE_CMD} -i "" -e \
		's:^XCOMM  NO_I18N_SUPPORT: NO_I18N_SUPPORT:' ${WRKSRC}/Imakefile
.endif




with:


.if defined(WITH_SOUND)
LIB_DEPENDS+=	rplay.1:${PORTSDIR}/audio/rplay
.endif

post-patch:
.if defined(WITHOUT_SOUND)
	@${REINPLACE_CMD} -i "" -e \
		's:^XCOMM NO_SOUND_SUPPORT: NO_SOUND_SUPPORT:; \
		s:^SOUNDLIB:XCOMM SOUNDLIB:; \
		s:^SOUNDINC:XCOMM SOUNDINC: ' ${WRKSRC}/Imakefile
.endif

.if defined(WITHOUT_NLS)
	@${REINPLACE_CMD} -i "" -e \
		's:^XCOMM  NO_I18N_SUPPORT: NO_I18N_SUPPORT:' ${WRKSRC}/Imakefile
.endif

(Sorry, away from my computer and can't make a patch.)

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710240133.l9O1XuF7024437>