ports/117438: x11-wm/vtwm: recent changes break make index, make describe on 6.2-Stable

bf bf2006a at yahoo.com
Wed Oct 24 01:40:04 UTC 2007


>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 at 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:



More information about the freebsd-ports-bugs mailing list