ports/53545: Maintainer update: lang/t3x

Nils M Holm nmh at t3x.org
Fri Jun 20 09:10:18 UTC 2003


>Number:         53545
>Category:       ports
>Synopsis:       Maintainer update: lang/t3x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 20 02:10:16 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Nils M Holm
>Release:        FreeBSD 4.7-RELEASE i386
>Organization:
>Environment:
System: FreeBSD Symmetry.UUCP 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Thu Apr 10 11:15:39 CEST 2003 nmh at SYMMETRY.UUCP:/usr/src/sys/compile/SYMMETRY i386

>Description:

A production compiler is required to build devel/tide. Building
a production compiler, however, requires to build and install
a bootstapping compiler first.

To do so, I have added a do-build target to the Makefile which
performs these steps:

- build the compiler as before
- install the compiler binares in ${WRKSRC}/test
- run 'make allclean' on the sources
- re-configure the sources to build a production compiler
- build the production compiler using the bootstrapping
  compiler binaries in ${WRKSRC}/test

To run all these steps, I have basically copied and modified
the do-build receipe from /usr/ports/Mk/bsd.port.mk.

>How-To-Repeat:
>Fix:

diff -ru lang/t3x-old/Makefile lang/t3x/Makefile
--- lang/t3x-old/Makefile	Tue Jun 10 12:56:35 2003
+++ lang/t3x/Makefile	Fri Jun 20 10:41:14 2003
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	t3x
-PORTVERSION=	8.0.2
+PORTVERSION=	8.0.3
 CATEGORIES=	lang devel
 MASTER_SITES=	http://t3x.dyndns.org/files/ \
 		http://www.t3x.org/files/
@@ -18,9 +18,16 @@
 MAN7=		t3x.7
 MANCOMPRESSED=	no
 
-MAKE_ENV=	INSTALL_PREFIX=${PREFIX}
+MAKE_ENV+=	INSTALL_PREFIX=${PREFIX}
 
 do-configure:
 	@(cd ${WRKSRC}/ports/freebsd-386-elf; ./Config boot)
 
+do-build:
+	@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
+	@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} INSTALL_PREFIX=${WRKSRC}/test ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
+	@(cd ${WRKSRC}; ${MAKE} allclean)
+	@(cd ${WRKSRC}/ports/freebsd-386-elf; ./Config build)
+	@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} T3XDIR=${WRKSRC}/test/t3x/r8 ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
+	
 .include <bsd.port.mk>
diff -ru lang/t3x-old/distinfo lang/t3x/distinfo
--- lang/t3x-old/distinfo	Tue Jun 10 12:56:35 2003
+++ lang/t3x/distinfo	Fri Jun 20 10:40:32 2003
@@ -1 +1 @@
-MD5 (t3x-802.tar.gz) = b998a654ab5d815dd7ffae4040afaa82
+MD5 (t3x-803.tar.gz) = 027caa9f74f02774279f4b510535c1fc
diff -ru lang/t3x-old/pkg-plist lang/t3x/pkg-plist
--- lang/t3x-old/pkg-plist	Thu May 15 03:43:31 2003
+++ lang/t3x/pkg-plist	Fri Jun 20 10:40:32 2003
@@ -26,6 +26,17 @@
 t3x/r8/bin/txsum
 t3x/r8/bin/txtrn
 t3x/r8/bin/txx
+t3x/r8/classes/2/CLASSNDX
+t3x/r8/classes/2/char.cls
+t3x/r8/classes/2/iostream.cls
+t3x/r8/classes/2/memory.cls
+t3x/r8/classes/2/rtcode.cls
+t3x/r8/classes/2/string.cls
+t3x/r8/classes/2/system.cls
+t3x/r8/classes/2/t3x.cls
+t3x/r8/classes/2/tcode.cls
+t3x/r8/classes/2/ttyctl.cls
+t3x/r8/classes/2/util.cls
 t3x/r8/classes/CLASSNDX
 t3x/r8/classes/char.cls
 t3x/r8/classes/char.dir
@@ -76,7 +87,10 @@
 t3x/r8/txprint.rules
 @unexec rm -f %D/t3x/r8/classes/CLASSND-
 @unexec rm -f %D/t3x/r8/classes/CLASSNDX
+ at unexec rm -f %D/t3x/r8/classes/2/CLASSND-
+ at unexec rm -f %D/t3x/r8/classes/2/CLASSNDX
 @dirrm t3x/r8/bin
+ at dirrm t3x/r8/classes/2
 @dirrm t3x/r8/classes
 @dirrm t3x/r8/lib
 @dirrm t3x/r8/doc

-- 
Nils M Holm <nmh at t3x.org> -- http://www.t3x.org/~nmh
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list