Date: Mon, 31 Dec 2001 18:15:43 +0100 (CET) From: Thierry Thomas <thierry@thomas.as> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/33396: x11-toolkits/open-motif 2.1.30_2 removed host.def => french/xtel unbuildable Message-ID: <20011231171543.30ADA751B@graf.pompo.net>
next in thread | raw e-mail | index | archive | help
>Number: 33396 >Category: ports >Synopsis: x11-toolkits/open-motif 2.1.30_2 removed host.def => french/xtel unbuildable >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Dec 31 09:20:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Thierry Thomas >Release: FreeBSD 4.5-PRERELEASE i386 >Organization: Kabbale Eros >Environment: System: FreeBSD graf.pompo.net 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #0: Thu Dec 27 11:39:31 CET 2001 root@graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF010429 i386 >Description: Latest open-motif has removed the file /usr/X11R6/lib/X11/config/host.def (see CVS log 1.21), but it is required by the configure of french/xtel. >How-To-Repeat: Upgrade open-motif to latest, and do not reinstall neither XFree86 nor lesstif => your /usr/X11R6/lib/X11/config/host.def is removed; then try to make french/xtel => it is broken. >Fix: The following patch copy a default temporary host.def if you do not have one. diff -rNu /usr/ports/french/xtel.orig/Makefile /usr/ports/french/xtel/Makefile --- /usr/ports/french/xtel.orig/Makefile Thu Dec 27 09:24:45 2001 +++ /usr/ports/french/xtel/Makefile Mon Dec 31 17:30:08 2001 @@ -41,6 +41,17 @@ find ${WRKSRC} -type f | xargs ${PERL} -pi -e \ "s@#include.*<malloc.h>@#include <stdlib.h>@g" +pre-configure: +.if !exists(${PREFIX}/lib/X11/config/host.def) + ${CP} ${FILESDIR}/host.def ${PREFIX}/lib/X11/config +HOST_DEF_INSTALLED_BY_XTEL= yes +.endif + +post-configure: +.if defined(HOST_DEF_INSTALLED_BY_XTEL) + ${RM} ${PREFIX}/lib/X11/config/host.def +.endif + post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} diff -rNu /usr/ports/french/xtel.orig/files/host.def /usr/ports/french/xtel/files/host.def --- /usr/ports/french/xtel.orig/files/host.def Thu Jan 1 01:00:00 1970 +++ /usr/ports/french/xtel/files/host.def Sat Jun 2 00:27:38 2001 @@ -0,0 +1,9 @@ +/* + * Host.def for building FreeBSD bindists + * + * $XFree86: xc/programs/Xserver/hw/xfree86/etc/bindist/FreeBSD/host.def,v 1.3.4.1 2001/05/31 22:20:27 dawes Exp $ + */ + +#define InstallEmptyHostDef +#define BuildBindist + >Release-Note: >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?20011231171543.30ADA751B>