From umq@ueo.co.jp  Sun Mar 15 23:16:51 2009
Return-Path: <umq@ueo.co.jp>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 93A1A106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 15 Mar 2009 23:16:51 +0000 (UTC)
	(envelope-from umq@ueo.co.jp)
Received: from msa02b.plala.or.jp (msa02.plala.or.jp [58.93.240.2])
	by mx1.freebsd.org (Postfix) with ESMTP id 23EE28FC14
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 15 Mar 2009 23:16:50 +0000 (UTC)
	(envelope-from umq@ueo.co.jp)
Received: from terpsichore.kaumoge.org ([125.205.3.93])
          by msa02b.plala.or.jp with ESMTP
          id <20090315231650.DMDM29767.msa02b.plala.or.jp@terpsichore.kaumoge.org>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Mon, 16 Mar 2009 08:16:50 +0900
Received: from calliope.kaumoge.org (calliope.kaumoge.org [192.168.24.120])
	by terpsichore.kaumoge.org (8.14.3/8.14.2/20080818) with ESMTP id n2FNGm3u059703
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 16 Mar 2009 08:16:48 +0900 (JST)
	(envelope-from umq@ueo.co.jp)
Message-Id: <86zlfmidgg.wl%umq@ueo.co.jp>
Date: Mon, 16 Mar 2009 08:16:47 +0900
From: Hirohisa Yamaguchi <umq@ueo.co.jp>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [patch] graphics/ocaml-lablgl update to 1.04
X-Send-Pr-Version: 3.113

>Number:         132679
>Category:       ports
>Synopsis:       [patch] graphics/ocaml-lablgl update to 1.04
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    stas
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 15 23:20:01 UTC 2009
>Closed-Date:    Tue Apr 07 07:13:35 UTC 2009
>Last-Modified:  Tue Apr 07 07:13:35 UTC 2009
>Originator:     Hirohisa Yamaguchi
>Release:        FreeBSD 8.0-CURRENT amd64
>Organization:
<organization of PR author (multiple lines)>
>Environment:
System: FreeBSD calliope.****.org 8.0-CURRENT FreeBSD 8.0-CURRENT #19: Thu Feb 26 05:44:54 JST 2009 root@calliope.****.org:/usr/obj/usr/src/sys/CALLIOPE64 amd64

>Description:
	There's a newer version of graphics/ocaml-lablgl 1.04, which
	supports Tcl/Tk 8.5.
>How-To-Repeat:
	N/A
>Fix:

	the patch follows:

cvs diff: Diffing .
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/graphics/ocaml-lablgl/Makefile,v
retrieving revision 1.21
diff -p -u -r1.21 Makefile
--- Makefile	23 Jan 2009 16:27:39 -0000	1.21
+++ Makefile	14 Mar 2009 17:29:07 -0000
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	lablgl
-PORTVERSION=	1.03
-PORTREVISION=	1
+PORTVERSION=	1.04
 CATEGORIES=	graphics
 MASTER_SITES=	http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/
 PKGNAMEPREFIX=	ocaml-
@@ -15,12 +14,13 @@ PKGNAMEPREFIX=	ocaml-
 MAINTAINER=	stas@FreeBSD.org
 COMMENT=	OpenGL interface for Objective Caml
 
+WRKSRC=		${WRKDIR}/lablGL-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
 USE_GL=		glut
 USE_GMAKE=	yes
 USE_OCAML=	yes
 USE_OCAML_WASH=	yes
 ALL_TARGET=	all opt
-DEPENDS_ARGS+=	WITH_TK=yes
+USE_TK=		84+
 
 MASTERPORT=	${PORTSDIR}/devel/ocaml-camlidl
 PATTERN=	[[:space:]]*(do|then)?[[:space:]]*)cp([[:space:]]
@@ -39,6 +39,8 @@ post-extract:
 		-e "s,^\(RANLIB[ \t]*=\).*,\1ranlib,g" \
 		-e "s,^#\(LIBDIR[ \t]*=\).*,\1${PREFIX}/lib/ocaml,g" \
 		-e "s,^#\(DLLDIR[ \t]*=\).*,\1${PREFIX}/lib/ocaml/stublibs,g" \
+		-e "/^TKINCLUDES/s,=.*$$,= -I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR}," \
+		-e "/^TKLIBS/s,=.*$$,= -L${LOCALBASE} -ltcl${TCL_VER:S/.//} -ltk${TK_VER:S/.//}," \
 		${WRKSRC}/Makefile.config
 
 	@${REINPLACE_CMD} \
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/graphics/ocaml-lablgl/distinfo,v
retrieving revision 1.7
diff -p -u -r1.7 distinfo
--- distinfo	15 May 2008 11:04:08 -0000	1.7
+++ distinfo	14 Mar 2009 17:29:08 -0000
@@ -1,3 +1,3 @@
-MD5 (lablgl-1.03.tar.gz) = 1c16eb9298314b764851bc7d15fae88f
-SHA256 (lablgl-1.03.tar.gz) = f4dcb28cb11e9a0791ba4d35eb86d9dcb19d8d4d0f3171dd18ede4c8d5e002db
-SIZE (lablgl-1.03.tar.gz) = 389404
+MD5 (lablgl-1.04.tar.gz) = dcf05a0cffffdf06cbe0fe55f9eff974
+SHA256 (lablgl-1.04.tar.gz) = 3fedf5537069481b95836e8495380c742af7b87cfecd105fff1b98e40cac3b3e
+SIZE (lablgl-1.04.tar.gz) = 410525
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->stas 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Mar 15 23:20:19 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/132679: commit references a PR
Date: Mon,  6 Apr 2009 20:42:06 +0000 (UTC)

 stas        2009-04-06 20:41:46 UTC
 
   FreeBSD ports repository
 
   Modified files:
     graphics/ocaml-lablgl Makefile distinfo 
   Log:
   - Update to 1.04.
   
   PR:             ports/132679
   Submitted by:   Hirohisa Yamaguchi <umq@ueo.co.jp>
   
   Revision  Changes    Path
   1.23      +5 -6      ports/graphics/ocaml-lablgl/Makefile
   1.8       +3 -3      ports/graphics/ocaml-lablgl/distinfo
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: stas 
State-Changed-When: Tue Apr 7 07:13:34 UTC 2009 
State-Changed-Why:  
Committed. Thanks! 

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