Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jul 1998 13:35:38 +0100
From:      Dom Mitchell <dom@phmit.demon.co.uk>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/7212: XFree86 (internat) port fails to install
Message-ID:  <E0yttRh-0003cj-00@voodoo.pandhm.co.uk>

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

>Number:         7212
>Category:       ports
>Synopsis:       XFree86 (internat) port fails to install
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul  8 05:40:01 PDT 1998
>Last-Modified:
>Originator:     Dom Mitchell
>Organization:
Palmer & Harvey McLane Ltd.
>Release:        FreeBSD 2.2.6-STABLE i386
>Environment:

FreeBSD voodoo.pandhm.co.uk 2.2.6-STABLE FreeBSD 2.2.6-STABLE #0: Thu Jul  2 21:21:10 BST 1998     root@voodoo.pandhm.co.uk:/usr/src/sys/compile/VOODOO  i386

>Description:

The port of XFree86-3.3.2 (international version) calls on a file called
Wraphelp.c, which is summoned by fetch.  Unfortunately, fetch seems to
insist on transferring the file in binary mode instead of ascii, with
the end result that the file has all it's lines ending in \r\n instead
of \n.  This breaks the install process, as the file can't be compiled.

>How-To-Repeat:

cd /usr/ports/x11/XFree86; make; make install

>Fix:
	
Add these lines to the bottom of the ports Makefile: (UNTESTED)

post-fetch:
	sed -e 's/
$//' ${DISTDIR}/xc/Wraphelp.c > ${DISTDIR}/xc/foo
	mv ${DISTDIR}/xc/foo ${DISTDIR}/xc/Wraphelp.c 

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0yttRh-0003cj-00>