ports/132679: [patch] graphics/ocaml-lablgl update to 1.04

Hirohisa Yamaguchi umq at ueo.co.jp
Sun Mar 15 23:20:02 UTC 2009


>Number:         132679
>Category:       ports
>Synopsis:       [patch] graphics/ocaml-lablgl update to 1.04
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 15 23:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>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 at 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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list