From ssedov@mbsd.msk.ru  Mon Aug  7 12:53:00 2006
Return-Path: <ssedov@mbsd.msk.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 384B216A4DE
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  7 Aug 2006 12:53:00 +0000 (UTC)
	(envelope-from ssedov@mbsd.msk.ru)
Received: from com1.ht-systems.ru (com1.ht-systems.ru [83.97.104.204])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 72DC843D49
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  7 Aug 2006 12:52:59 +0000 (GMT)
	(envelope-from ssedov@mbsd.msk.ru)
Received: from [217.118.83.1] (helo=fonon.realnet)
	by com1.ht-systems.ru with esmtpa (Exim 4.62)
	(envelope-from <ssedov@mbsd.msk.ru>)
	id 1GA4bE-0006tW-Qv
	for FreeBSD-gnats-submit@freebsd.org; Mon, 07 Aug 2006 16:52:58 +0400
Received: by fonon.realnet (Postfix, from userid 1001)
	id 4E77E13014; Mon,  7 Aug 2006 14:38:45 +0400 (MSD)
Message-Id: <20060807103845.4E77E13014@fonon.realnet>
Date: Mon,  7 Aug 2006 14:38:45 +0400 (MSD)
From: Stanislav Sedov <ssedov@mbsd.msk.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [NEW PORT] devel/omake: A flexible build system
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         101582
>Category:       ports
>Synopsis:       [NEW PORT] devel/omake: A flexible build system
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    itetcu
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 07 13:00:31 GMT 2006
>Closed-Date:    Wed Sep 06 07:33:14 GMT 2006
>Last-Modified:  Wed Sep 06 07:33:14 GMT 2006
>Originator:     Stanislav Sedov
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
MBSD labs, Inc.
>Environment:
System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Wed Aug  2 21:44:37 MSD
>Description:
OMake is a build system designed for scalability and portability. It uses a
syntax similar to make utilities you may have used, but it features many
additional enhancements.

WWW:	http://omake.metaprl.org/index.html

>How-To-Repeat:
>Fix:

--- omake-0.9.6.9.1.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	omake
#	omake/pkg-descr
#	omake/Makefile
#	omake/pkg-plist
#	omake/distinfo
#	omake/files
#	omake/files/patch-Makefile
#
echo c - omake
mkdir -p omake > /dev/null 2>&1
echo x - omake/pkg-descr
sed 's/^X//' >omake/pkg-descr << 'END-of-omake/pkg-descr'
XOMake is a build system designed for scalability and portability. It uses a
Xsyntax similar to make utilities you may have used, but it features many
Xadditional enhancements.
X
XWWW:	http://omake.metaprl.org/index.html
END-of-omake/pkg-descr
echo x - omake/Makefile
sed 's/^X//' >omake/Makefile << 'END-of-omake/Makefile'
X# New ports collection makefile for:	omake
X# Date created:		2006-08-06
X# Whom:			Stanislav Sedov <ssedov@mbsd.msk.ru>
X#
X# $MBSDlabs$
X# $FreeBSD$
X#
X
XPORTNAME=	omake
XPORTVERSION=	0.9.6.9.1
XCATEGORIES=	devel
XMASTER_SITES=	http://omake.metaprl.org/downloads/
XDISTNAME=	${PORTNAME}-${PORTVERSION:C/\.[0-9]*$//}-1
X
XMAINTAINER=	ssedov@mbsd.msk.ru
XCOMMENT=	A flexible build system
X
XWRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:C/\.[0-9]*$//}
XUSE_OCAML=	yes
XNO_OCAML_RUNDEPENDS=yes
X
XMAN1=	omake-base.1 omake-doc.1 omake-language.1 omake-options.1 \
X	omake-pervasives.1 omake-quickstart.1 omake-root.1 omake-rules.1 \
X	omake-shell.1 omake-system.1 omake.1 osh.1
X
X.include <bsd.port.pre.mk>
X.include <${PORTSDIR}/lang/ocaml/bsd.ocaml.mk>
X
X.if ${OSVERSION} > 500000 && exists(${LOCALBASE}/lib/libreadline.so.5)
XLIB_DEPENDS+=	readline.5:${PORTSDIR}/devel/readline
XCFLAGS+=	-I${LOCALBASE}/include
XLDFLAGS+=	-L${LOCALBASE}/lib
X.endif
X
Xpost-extract:
X#
X# Dirty hack for PREFIX safety
X#
X	@${REINPLACE_CMD} -E -e "s,(getenv[[:space:]]+)LIBDIR,\1PREFLIBDIR," \
X		${WRKSRC}/mk/defaults
X
X#
X# Permissions safety
X#
X	@${REINPLACE_CMD} -E -e "s,cp -f -m 444,\$$(BSD_INSTALL_DATA)," \
X		-e "s,cp -f -m 555,\$$(BSD_INSTALL_PROGRAM)," \
X		${WRKSRC}/OMakefile ${WRKSRC}/src/main/OMakefile \
X		${WRKSRC}/doc/OMakefile
X
X#
X# Readline code is deeply broken on 4
X#
X.if ${OSVERSION} < 500000
X	@${REINPLACE_CMD} -E -e \
X		"s,^(READLINE_ENABLED[[:space:]]*=[[:space:]]*).*,\1false," \
X		${WRKSRC}/mk/make_config ${WRKSRC}/mk/defaults
X.endif
X
X.include <bsd.port.post.mk>
END-of-omake/Makefile
echo x - omake/pkg-plist
sed 's/^X//' >omake/pkg-plist << 'END-of-omake/pkg-plist'
Xbin/cvs_realclean
Xbin/omake
Xbin/osh
Xlib/omake/OMakefile.default
Xlib/omake/OMakeroot.default
Xlib/omake/OMakeroot.om
Xlib/omake/Pervasives.om
Xlib/omake/build/C.om
Xlib/omake/build/Common.om
Xlib/omake/build/LaTeX.om
Xlib/omake/build/OCaml.om
Xlib/omake/configure/Configure.om
Xlib/omake/configure/fam.om
Xlib/omake/configure/ncurses.om
Xlib/omake/configure/readline.om
Xlib/omake/parse/C/Lex.om
Xlib/omake/parse/C/Parse.om
X@dirrm lib/omake/parse/C
X@dirrm lib/omake/parse
X@dirrm lib/omake/configure
X@dirrm lib/omake/build
X@dirrm lib/omake
END-of-omake/pkg-plist
echo x - omake/distinfo
sed 's/^X//' >omake/distinfo << 'END-of-omake/distinfo'
XMD5 (omake-0.9.6.9-1.tar.gz) = 81a44fcf8192140b3147ffe849818742
XSHA256 (omake-0.9.6.9-1.tar.gz) = f9a296b06d4a68407ae499f95f601a4a7ba2ca0157b1b03808183ba26e2afc26
XSIZE (omake-0.9.6.9-1.tar.gz) = 2046152
END-of-omake/distinfo
echo c - omake/files
mkdir -p omake/files > /dev/null 2>&1
echo x - omake/files/patch-Makefile
sed 's/^X//' >omake/files/patch-Makefile << 'END-of-omake/files/patch-Makefile'
X--- Makefile.orig	Thu Sep  8 04:43:14 2005
X+++ Makefile	Mon Aug  7 13:01:39 2006
X@@ -18,8 +18,8 @@
X 	@exit 1
X 
X boot: boot/Makefile
X-	@touch boot/Makefile.dep
X-	@cd boot; $(MAKE) Makefile.dep; $(MAKE) omake
X+	@sed -i "" -e '/include Makefile.dep/d' boot/Makefile
X+	@cd boot; $(MAKE) Makefile.dep; echo "include Makefile.dep" >> Makefile; $(MAKE) omake
X 	@ln -sf boot/omake omake-boot
X 
X boot/Makefile: src/Makefile
END-of-omake/files/patch-Makefile
exit
--- omake-0.9.6.9.1.shar ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->itetcu 
Responsible-Changed-By: itetcu 
Responsible-Changed-When: Sun Aug 20 12:20:13 UTC 2006 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=101582 
State-Changed-From-To: open->feedback 
State-Changed-By: itetcu 
State-Changed-When: Sun Aug 20 12:31:08 UTC 2006 
State-Changed-Why:  
doesn't fetch: 
http://sce-tindy.tecnik93.com/tb/errors/4-STABLE-i386-myPT/omake-0.9.6.9.1.log 

http://www.freebsd.org/cgi/query-pr.cgi?pr=101582 
State-Changed-From-To: feedback->open 
State-Changed-By: itetcu 
State-Changed-When: Tue Aug 22 20:21:49 UTC 2006 
State-Changed-Why:  
new patch received 

http://www.freebsd.org/cgi/query-pr.cgi?pr=101582 
State-Changed-From-To: open->feedback 
State-Changed-By: itetcu 
State-Changed-When: Fri Sep 1 10:04:11 UTC 2006 
State-Changed-Why:  
ask about the problems on amd64 

http://www.freebsd.org/cgi/query-pr.cgi?pr=101582 

From: Ion-Mihai "IOnut" Tetcu <itetcu@FreeBSD.org>
To: Stanislav Sedov <ssedov@mbsd.msk.ru>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/101582: [NEW PORT] devel/omake: A flexible build system
Date: Fri, 1 Sep 2006 13:03:46 +0300

 --Sig_dZZDHjHe.pPhcEaySG/2/a.
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: quoted-printable
 
 On amd64-CURRENT:
 
 OMAKEFLAGS=3D ./omake-boot --dotomake .omake --force-dotomake -j2 -S --prog=
 ress main
 *** omake: reading OMakefiles
 --- Testing for gcc... (gcc found)
 --- Testing for g++... (g++ found)
 --- Testing for ocamlfind... (FAILED - no ocamlfind found)
 --- Testing for ocamlc.opt... (ocamlc.opt found)
 --- Testing for ocamlopt.opt... (ocamlopt.opt found)
 --- Testing whether ocamlc understands the "z" warnings... (yes)
 --- Testing for latex... (FAILED - no latex found)
 --- Testing for FAM... (disabled)
 --- Testing for ncurses... (enabled)
 --- Testing for readline... (enabled) (GNU)
 - include . .config
 + <exp>
 Updating the .config file.
 --- Testing for latex2man... (FAILED - no latex2man found)
 *** omake: finished reading OMakefiles (0.9 sec)
 [=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D                                            =
         ] 00146 / 00945
 [=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D                             =
                   ] 00222 / 00945
 [=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D                       =
                       ] 00262 / 00945
 [=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D                 =
                           ] 00294 / 00945
 [=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D              =
                             ] 00308 / 00945
                                                                            =
     =20
 - build src/clib lm_heap.o
 + gcc -O2 -fno-strict-aliasing -pipe -g -O2 -Wall -Werror -Wno-unused -DREA=
 DLINE_ENABLED -DREADLINE_GNU -I. -I/usr/local/lib/ocaml -I. -c -o lm_heap.o=
  lm_heap.c
 lm_heap.c: In function `lm_heap_check_aux1':
 lm_heap.c:94: warning: int format, different type arg (arg 8)
 lm_heap.c:94: warning: int format, different type arg (arg 9)
 lm_heap.c:94: warning: int format, different type arg (arg 10)
 lm_heap.c: In function `lm_heap_check_aux2':
 lm_heap.c:178: warning: int format, different type arg (arg 8)
 lm_heap.c:178: warning: int format, different type arg (arg 9)
 lm_heap.c:178: warning: int format, different type arg (arg 10)
 [=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D                                ] 00466 / 00953
                                                                            =
     =20
 *** omake: 466/953 targets are up to date
 *** omake: failed (7.3 sec, 60/60 scans, 123/153 rules, 397/1191 digests)
 *** omake: targets were not rebuilt because of errors:
    src/clib/lm_heap.o
 *** Error code 1
 
 Stop in /work/a/ports/devel/omake/work/omake-0.9.6.9.
 *** Error code 1
 
 On amd64-6-STABLE:
 --- Testing for latex2man... (FAILED - no latex2man found)
 *** omake: finished reading OMakefiles (0.9 sec)
 [=3D=3D=3D=3D=3D=3D=3D=3D=3D                                               =
       ] 00140 / 00945
 [=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D                                =
                 ] 00219 / 00945
 [=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D                       =
                       ] 00262 / 00945
 [=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D                 =
                           ] 00290 / 00945
 [=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D                                   ] 00425 / 00945
                                                                            =
     =20
 - build src/clib lm_heap.o
 + gcc -O2 -fno-strict-aliasing -pipe -g -O2 -Wall -Werror -Wno-unused -DREA=
 DLINE_ENABLED -DREADLINE_GNU -I. -I/usr/local/lib/ocaml -I. -c -o lm_heap.o=
  lm_heap.c
 lm_heap.c: In function `lm_heap_check_aux1':
 lm_heap.c:94: warning: int format, different type arg (arg 8)
 lm_heap.c:94: warning: int format, different type arg (arg 9)
 lm_heap.c:94: warning: int format, different type arg (arg 10)
 lm_heap.c: In function `lm_heap_check_aux2':
 lm_heap.c:178: warning: int format, different type arg (arg 8)
 lm_heap.c:178: warning: int format, different type arg (arg 9)
 lm_heap.c:178: warning: int format, different type arg (arg 10)
 *** omake: 458/953 targets are up to date
 *** omake: failed (6.5 sec, 60/60 scans, 119/145 rules, 389/1174 digests)
 *** omake: targets were not rebuilt because of errors:
    src/clib/lm_heap.o
 *** Error code 1
 
 
 Same on 5.
 
 --=20
 IOnut - Un^d^dregistered ;) FreeBSD "user"
   "Intellectual Property" is   nowhere near as valuable   as "Intellect"
 
 BOFH excuse #346:
 Your/our computer(s) has/have suffered a memory leak, and we are
 waiting for them to be topped up
 
 
 
 --Sig_dZZDHjHe.pPhcEaySG/2/a.
 Content-Type: application/pgp-signature; name=signature.asc
 Content-Disposition: attachment; filename=signature.asc
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.5 (FreeBSD)
 
 iD8DBQFE+AWCBX6fi0k6KXsRAi4NAJ0e/IXji6LDFlM9gAj4G/bQIUmF8QCgqLlG
 jJYIgzNT4hUIOHzlYIWXuvk=
 =G9Mi
 -----END PGP SIGNATURE-----
 
 --Sig_dZZDHjHe.pPhcEaySG/2/a.--
State-Changed-From-To: feedback->open 
State-Changed-By: itetcu 
State-Changed-When: Tue Sep 5 22:14:15 UTC 2006 
State-Changed-Why:  
new patch received 

http://www.freebsd.org/cgi/query-pr.cgi?pr=101582 
State-Changed-From-To: open->closed 
State-Changed-By: itetcu 
State-Changed-When: Wed Sep 6 07:33:11 UTC 2006 
State-Changed-Why:  
New port added. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=101582 
>Unformatted:
