From tkato@prontomail.com  Sat Aug 16 09:03:38 2003
Return-Path: <tkato@prontomail.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id DC61A37B401
	for <FreeBSD-gnats-submit@FreeBSD.org>; Sat, 16 Aug 2003 09:03:33 -0700 (PDT)
Received: from hfep01.dion.ne.jp (hfep01.dion.ne.jp [203.181.105.67])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1AE1544017
	for <FreeBSD-gnats-submit@FreeBSD.org>; Sat, 16 Aug 2003 09:03:33 -0700 (PDT)
	(envelope-from tkato@prontomail.com)
Received: from localhost ([61.204.120.213]) by hfep01.dion.ne.jp with SMTP
          id <20030816160330244.XHNY@hfep01.dion.ne.jp>
          for <FreeBSD-gnats-submit@FreeBSD.org>;
          Sun, 17 Aug 2003 01:03:30 +0900
Message-Id: <20030817010229.53474320.tkato@prontomail.com>
Date: Sun, 17 Aug 2003 01:02:29 +0900
From: KATO Tsuguru <tkato@prontomail.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Subject: Update port: graphics/gltt

>Number:         55623
>Category:       ports
>Synopsis:       Update port: graphics/gltt
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 16 09:10:16 PDT 2003
>Closed-Date:    Sat Aug 16 09:56:20 PDT 2003
>Last-Modified:  Sat Aug 16 09:56:20 PDT 2003
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Support CFLAGS/CXXFLAGS properly
- Do not install useless .la file

New file:
files/patch-configure

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/gltt/Makefile graphics/gltt/Makefile
--- /usr/ports/graphics/gltt/Makefile	Sat Aug 16 19:29:46 2003
+++ graphics/gltt/Makefile	Sat Aug 16 19:43:44 2003
@@ -7,28 +7,27 @@
 
 PORTNAME=	gltt
 PORTVERSION=	2.5.2
+PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	http://gltt.sourceforge.net/download/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	TrueType fonts rendering using OpenGL
 
-LIB_DEPENDS=	ttf.4:${PORTSDIR}/print/freetype
-
-USE_GMAKE=	yes
-USE_MESA=	yes
 USE_X_PREFIX=	yes
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--prefix=${PREFIX} \
-		--x-includes=${X11BASE}/include \
-		--x-libraries=${X11BASE}/lib \
-		--with-ttf-includes=${LOCALBASE}/include/freetype1 \
+USE_MESA=	yes
+USE_FREETYPE=	yes
+USE_GMAKE=	yes
+USE_LIBTOOL=	yes
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV=	CPPFLAGS="-I${X11BASE}/include" \
+		LIBS="-L${X11BASE}/lib"
+CONFIGURE_ARGS=	--with-ttf-includes=${LOCALBASE}/include/freetype1 \
 		--with-ttf-libraries=${LOCALBASE}/lib \
 		--with-gl-includes=${X11BASE}/include \
 		--with-gl-libraries=${X11BASE}/lib \
 		--with-glut-includes=${X11BASE}/include \
 		--with-glut-libraries=${X11BASE}/lib
-CONFIGURE_ENV=	CPPFLAGS=-I${X11BASE}/include
 INSTALLS_SHLIB=	yes
 
 .include <bsd.port.mk>
diff -urN /usr/ports/graphics/gltt/files/patch-configure graphics/gltt/files/patch-configure
--- /usr/ports/graphics/gltt/files/patch-configure	Thu Jan  1 09:00:00 1970
+++ graphics/gltt/files/patch-configure	Sat Aug 16 19:39:31 2003
@@ -0,0 +1,10 @@
+--- configure.orig	Sat Dec  1 05:06:23 2001
++++ configure	Sat Aug 16 19:39:23 2003
+@@ -6467,6 +6467,7 @@
+ 
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+ 
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff -urN /usr/ports/graphics/gltt/pkg-plist graphics/gltt/pkg-plist
--- /usr/ports/graphics/gltt/pkg-plist	Tue Jun  3 13:33:58 2003
+++ graphics/gltt/pkg-plist	Sat Aug 16 19:35:23 2003
@@ -18,7 +18,6 @@
 include/gltt/GLTTboolean.h
 include/gltt/GLTTminmax.h
 lib/libgltt.a
-lib/libgltt.la
 lib/libgltt.so
 lib/libgltt.so.0
 @dirrm include/gltt
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed  
State-Changed-By: krion 
State-Changed-When: Sat Aug 16 09:56:05 PDT 2003 
State-Changed-Why:  
Committed, thanks! 

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