Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Apr 2004 09:00:27 -0700 (PDT)
From:      Cyrille Lefevre <cyrille.lefevre@laposte.net>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/65009: Maintainer update: lang/gforth (build fix)
Message-ID:  <200404081600.i38G0RIO063308@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/65009; it has been noted by GNATS.

From: Cyrille Lefevre <cyrille.lefevre@laposte.net>
To: freebsd-gnats-submit@FreeBSD.org
Cc: krion@FreeBSD.org, Oliver Eikemeier <eikemeier@fillmore-labs.com>
Subject: Re: ports/65009: Maintainer update: lang/gforth (build fix)
Date: Thu, 8 Apr 2004 17:51:25 +0200

 this patch set replace the previous one :
 
 Makefile
 	bsd.port.mk -> pre/post
 	CONFIGURE_ENV/MAKE_ENV += _CFLAGS
 	CONFIGURE_ARGS added
 	CONFIGURE_TARGET moved (related to PR#64393)
 	_CFLAGS added
 	PLIST_SUB += COMMENT (for 0.6.2 build -- doesn't work yet)
 pkg-descr
 	WWW updated
 pkg-plist
 	@comment -> %%COMMENT%%
 files/patch-engine::Makefile.in
 	left untouched.
 
 the next step would be to try to build 0.6.2 w/ gcc 2.95...
 
 Index: Makefile
 ===================================================================
 RCS file: /home/ncvs/ports/lang/gforth/Makefile,v
 retrieving revision 1.16
 diff -u -I$Id.*$ -I$.+BSD.*$ -r1.16 Makefile
 --- Makefile	17 Mar 2004 20:03:16 -0000	1.16
 +++ Makefile	8 Apr 2004 15:42:32 -0000
 @@ -18,8 +18,11 @@
  # BROKEN=	0.6.2 runtime does Segmentation Fault at compilation time !
  #		so, no update is planned right now... sorry.
  
 +# let's try other architecture w/ latest patches...
  #ONLY_FOR_ARCHS=	i386 amd64 ia64
  
 +.include <bsd.port.pre.mk>
 +
  # Global variables
  #
  
 @@ -27,8 +30,10 @@
  USE_REINPLACE=	yes
  GNU_CONFIGURE=	yes
  USE_GMAKE=	yes
 -CONFIGURE_ENV=	CFLAGS=${CFLAGS:N-O*:N-f*}
 -MAKE_ENV=	CFLAGS=${CFLAGS:N-O*:N-f*}
 +CONFIGURE_ENV=	CFLAGS="${CFLAGS:N-O*:N-f*} ${_CFLAGS}"
 +CONFIGURE_ARGS=	--enable-force-reg
 +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-${OPSYS:L}${OSREL}
 +MAKE_ENV=	CFLAGS="${CFLAGS:N-O*:N-f*} ${_CFLAGS}"
  ALL_TARGET=	all info
  PLIST_SUB=	PORTVERSION="${PORTVERSION}" \
  		EMACS_DIR="${EMACS_DIR:S,^${PREFIX}/,,}" \
 @@ -53,6 +58,12 @@
  BYTEORDER=l
  .endif
  
 +_CFLAGS=	#none
 +.if ${OSVERSION} >= 501103 # aka ${GCCVERSION} >= 030300
 +# http://www.complang.tuwien.ac.at/forth/gforth/Known-problems.html
 +_CFLAGS+=	-fno-reorder-blocks
 +.endif
 +
  DOC_FILES=	AUTHORS BUGS Benchres COPYING COPYING.DOC \
  		INSTALL INSTALL.BINDIST NEWS README \
  		NEWS.vmgen README.vmgen ToDo
 @@ -66,7 +77,12 @@
  FORTH_DIR=	${DATADIR}/site-forth
  
  EMPTY_DIRS=	generic hppa ia64 m68k power sparc
 +.if ${PORTVERSION} == 0.6.1
  EMPTY_DIRS+=	4stack 6502 8086 avr c165 h8 misc sharc shboom
 +PLIST_SUB+=	COMMENT="@comment "
 +.else
 +PLIST_SUB+=	COMMENT=""
 +.endif
  ARCH_DIR=	${DATADIR}/${PORTVERSION}/arch
  
  # Post-extract
 @@ -115,6 +131,4 @@
  	@${RMDIR} ${ARCH_DIR}/${dir}
  .endfor
  
 -.include <bsd.port.mk>
 -
 -CONFIGURE_TARGET:=	--build=${CONFIGURE_TARGET}
 +.include <bsd.port.post.mk>
 Index: pkg-descr
 ===================================================================
 RCS file: /home/ncvs/ports/lang/gforth/pkg-descr,v
 retrieving revision 1.1
 diff -u -I$Id.*$ -I$.+BSD.*$ -r1.1 pkg-descr
 --- pkg-descr	21 Oct 2000 19:29:01 -0000	1.1
 +++ pkg-descr	8 Apr 2004 15:42:32 -0000
 @@ -5,4 +5,4 @@
  implementation techniques: its inner innerpreter is indirect or
  direct threaded.
  
 -WWW: http://www.gnu.org/software/gforth/gforth.html
 +WWW: http://www.gnu.org/software/gforth/
 Index: pkg-plist
 ===================================================================
 RCS file: /home/ncvs/ports/lang/gforth/pkg-plist,v
 retrieving revision 1.4
 diff -u -I$Id.*$ -I$.+BSD.*$ -r1.4 pkg-plist
 --- pkg-plist	17 Mar 2004 20:03:16 -0000	1.4
 +++ pkg-plist	8 Apr 2004 15:42:33 -0000
 @@ -43,43 +43,43 @@
  %%DATADIR%%/%%PORTVERSION%%/answords.fs
  %%DATADIR%%/%%PORTVERSION%%/arch/386/asm.fs
  %%DATADIR%%/%%PORTVERSION%%/arch/386/disasm.fs
 -@comment %%DATADIR%%/%%PORTVERSION%%/arch/4stack/asm.fs
 -@comment %%DATADIR%%/%%PORTVERSION%%/arch/4stack/mach.fs
 -@comment %%DATADIR%%/%%PORTVERSION%%/arch/4stack/prim.fs
 -@comment %%DATADIR%%/%%PORTVERSION%%/arch/4stack/relocate.fs
 -@comment %%DATADIR%%/%%PORTVERSION%%/arch/6502/asm.fs
 -@comment %%DATADIR%%/%%PORTVERSION%%/arch/6502/cold.fs
 -@comment %%DATADIR%%/%%PORTVERSION%%/arch/6502/mach.fs
 -@comment %%DATADIR%%/%%PORTVERSION%%/arch/6502/prim.fs
 -@comment %%DATADIR%%/%%PORTVERSION%%/arch/6502/softuart.fs
 -@comment %%DATADIR%%/%%PORTVERSION%%/arch/6502/zero.fs
 -@comment %%DATADIR%%/%%PORTVERSION%%/arch/8086/asm.fs
 -@comment %%DATADIR%%/%%PORTVERSION%%/arch/8086/mach.fs
 -@comment %%DATADIR%%/%%PORTVERSION%%/arch/8086/prim.fs
 +%%COMMENT%%%%DATADIR%%/%%PORTVERSION%%/arch/4stack/asm.fs
 +%%COMMENT%%%%DATADIR%%/%%PORTVERSION%%/arch/4stack/mach.fs
 +%%COMMENT%%%%DATADIR%%/%%PORTVERSION%%/arch/4stack/prim.fs
 +%%COMMENT%%%%DATADIR%%/%%PORTVERSION%%/arch/4stack/relocate.fs
 +%%COMMENT%%%%DATADIR%%/%%PORTVERSION%%/arch/6502/asm.fs
 +%%COMMENT%%%%DATADIR%%/%%PORTVERSION%%/arch/6502/cold.fs
 +%%COMMENT%%%%DATADIR%%/%%PORTVERSION%%/arch/6502/mach.fs
 +%%COMMENT%%%%DATADIR%%/%%PORTVERSION%%/arch/6502/prim.fs
 +%%COMMENT%%%%DATADIR%%/%%PORTVERSION%%/arch/6502/softuart.fs
 +%%COMMENT%%%%DATADIR%%/%%PORTVERSION%%/arch/6502/zero.fs
 +%%COMMENT%%%%DATADIR%%/%%PORTVERSION%%/arch/8086/asm.fs
 +%%COMMENT%%%%DATADIR%%/%%PORTVERSION%%/arch/8086/mach.fs
 +%%COMMENT%%%%DATADIR%%/%%PORTVERSION%%/arch/8086/prim.fs
  %%DATADIR%%/%%PORTVERSION%%/arch/alpha/asm.fs
  %%DATADIR%%/%%PORTVERSION%%/arch/alpha/disasm.fs
 -@comment %%DATADIR%%/%%PORTVERSION%%/arch/avr/asm.fs
 -@comment %%DATADIR%%/%%PORTVERSION%%/arch/c165/asm.fs
 -@comment %%DATADIR%%/%%PORTVERSION%%/arch/c165/mach.fs
 -@comment %%DATADIR%%/%%PORTVERSION%%/arch/c165/prim.fs
 -@comment %%DATADIR%%/%%PORTVERSION%%/arch/h8/asm.fs
 +%%COMMENT%%%%DATADIR%%/%%PORTVERSION%%/arch/avr/asm.fs
 +%%COMMENT%%%%DATADIR%%/%%PORTVERSION%%/arch/c165/asm.fs
 +%%COMMENT%%%%DATADIR%%/%%PORTVERSION%%/arch/c165/mach.fs
 +%%COMMENT%%%%DATADIR%%/%%PORTVERSION%%/arch/c165/prim.fs
 +%%COMMENT%%%%DATADIR%%/%%PORTVERSION%%/arch/h8/asm.fs
  %%DATADIR%%/%%PORTVERSION%%/arch/mips/asm.fs
  %%DATADIR%%/%%PORTVERSION%%/arch/mips/disasm.fs
  %%DATADIR%%/%%PORTVERSION%%/arch/mips/insts.fs
 -@comment %%DATADIR%%/%%PORTVERSION%%/arch/misc/asm.fs
 -@comment %%DATADIR%%/%%PORTVERSION%%/arch/misc/mach.fs
 -@comment %%DATADIR%%/%%PORTVERSION%%/arch/misc/prim.fs
 -@comment %%DATADIR%%/%%PORTVERSION%%/arch/misc/sim.fs
 -@comment %%DATADIR%%/%%PORTVERSION%%/arch/misc/sokoban.fs
 -@comment %%DATADIR%%/%%PORTVERSION%%/arch/misc/tt.fs
 -@comment %%DATADIR%%/%%PORTVERSION%%/arch/sharc/mach.fs
 -@comment %%DATADIR%%/%%PORTVERSION%%/arch/shboom/asm.fs
 -@comment %%DATADIR%%/%%PORTVERSION%%/arch/shboom/compiler.fs
 -@comment %%DATADIR%%/%%PORTVERSION%%/arch/shboom/dis.fs
 -@comment %%DATADIR%%/%%PORTVERSION%%/arch/shboom/dis2.fs
 -@comment %%DATADIR%%/%%PORTVERSION%%/arch/shboom/doers.fs
 -@comment %%DATADIR%%/%%PORTVERSION%%/arch/shboom/mach.fs
 -@comment %%DATADIR%%/%%PORTVERSION%%/arch/shboom/prim.fs
 +%%COMMENT%%%%DATADIR%%/%%PORTVERSION%%/arch/misc/asm.fs
 +%%COMMENT%%%%DATADIR%%/%%PORTVERSION%%/arch/misc/mach.fs
 +%%COMMENT%%%%DATADIR%%/%%PORTVERSION%%/arch/misc/prim.fs
 +%%COMMENT%%%%DATADIR%%/%%PORTVERSION%%/arch/misc/sim.fs
 +%%COMMENT%%%%DATADIR%%/%%PORTVERSION%%/arch/misc/sokoban.fs
 +%%COMMENT%%%%DATADIR%%/%%PORTVERSION%%/arch/misc/tt.fs
 +%%COMMENT%%%%DATADIR%%/%%PORTVERSION%%/arch/sharc/mach.fs
 +%%COMMENT%%%%DATADIR%%/%%PORTVERSION%%/arch/shboom/asm.fs
 +%%COMMENT%%%%DATADIR%%/%%PORTVERSION%%/arch/shboom/compiler.fs
 +%%COMMENT%%%%DATADIR%%/%%PORTVERSION%%/arch/shboom/dis.fs
 +%%COMMENT%%%%DATADIR%%/%%PORTVERSION%%/arch/shboom/dis2.fs
 +%%COMMENT%%%%DATADIR%%/%%PORTVERSION%%/arch/shboom/doers.fs
 +%%COMMENT%%%%DATADIR%%/%%PORTVERSION%%/arch/shboom/mach.fs
 +%%COMMENT%%%%DATADIR%%/%%PORTVERSION%%/arch/shboom/prim.fs
  %%DATADIR%%/%%PORTVERSION%%/asm/README
  %%DATADIR%%/%%PORTVERSION%%/asm/basic.fs
  %%DATADIR%%/%%PORTVERSION%%/asm/bitmask.fs
 @@ -243,17 +243,17 @@
  @dirrm %%DATADIR%%/%%PORTVERSION%%/doc
  @dirrm %%DATADIR%%/%%PORTVERSION%%/compat
  @dirrm %%DATADIR%%/%%PORTVERSION%%/asm
 -@comment @dirrm %%DATADIR%%/%%PORTVERSION%%/arch/shboom
 -@comment @dirrm %%DATADIR%%/%%PORTVERSION%%/arch/sharc
 -@comment @dirrm %%DATADIR%%/%%PORTVERSION%%/arch/misc
 +%%COMMENT%%@dirrm %%DATADIR%%/%%PORTVERSION%%/arch/shboom
 +%%COMMENT%%@dirrm %%DATADIR%%/%%PORTVERSION%%/arch/sharc
 +%%COMMENT%%@dirrm %%DATADIR%%/%%PORTVERSION%%/arch/misc
  @dirrm %%DATADIR%%/%%PORTVERSION%%/arch/mips
 -@comment @dirrm %%DATADIR%%/%%PORTVERSION%%/arch/h8
 -@comment @dirrm %%DATADIR%%/%%PORTVERSION%%/arch/c165
 -@comment @dirrm %%DATADIR%%/%%PORTVERSION%%/arch/avr
 +%%COMMENT%%@dirrm %%DATADIR%%/%%PORTVERSION%%/arch/h8
 +%%COMMENT%%@dirrm %%DATADIR%%/%%PORTVERSION%%/arch/c165
 +%%COMMENT%%@dirrm %%DATADIR%%/%%PORTVERSION%%/arch/avr
  @dirrm %%DATADIR%%/%%PORTVERSION%%/arch/alpha
 -@comment @dirrm %%DATADIR%%/%%PORTVERSION%%/arch/8086
 -@comment @dirrm %%DATADIR%%/%%PORTVERSION%%/arch/6205
 -@comment @dirrm %%DATADIR%%/%%PORTVERSION%%/arch/4stack
 +%%COMMENT%%@dirrm %%DATADIR%%/%%PORTVERSION%%/arch/8086
 +%%COMMENT%%@dirrm %%DATADIR%%/%%PORTVERSION%%/arch/6205
 +%%COMMENT%%@dirrm %%DATADIR%%/%%PORTVERSION%%/arch/4stack
  @dirrm %%DATADIR%%/%%PORTVERSION%%/arch/386
  @dirrm %%DATADIR%%/%%PORTVERSION%%/arch
  @dirrm %%DATADIR%%/%%PORTVERSION%%
 Cyrille Lefevre
 -- 
 mailto:cyrille.lefevre@laposte.net



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