aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gltt
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-08-17 00:55:57 +0800
committerkrion <krion@FreeBSD.org>2003-08-17 00:55:57 +0800
commitb2dd03d6644acea225cdfc7c28998270392d92d4 (patch)
treed1105378742b70a5bead1085096b9c1a8b2f0f1e /graphics/gltt
parente4c8a0d40d31e6244f2d64df67a4287d21657920 (diff)
downloadfreebsd-ports-gnome-b2dd03d6644acea225cdfc7c28998270392d92d4.tar.gz
freebsd-ports-gnome-b2dd03d6644acea225cdfc7c28998270392d92d4.tar.zst
freebsd-ports-gnome-b2dd03d6644acea225cdfc7c28998270392d92d4.zip
- Support CFLAGS/CXXFLAGS properly
- Do not install useless .la file PR: 55623 Submitted by: Ports Fury
Diffstat (limited to 'graphics/gltt')
-rw-r--r--graphics/gltt/Makefile19
-rw-r--r--graphics/gltt/files/patch-configure10
-rw-r--r--graphics/gltt/pkg-plist1
3 files changed, 19 insertions, 11 deletions
diff --git a/graphics/gltt/Makefile b/graphics/gltt/Makefile
index 0426412054cc..8d12024ce107 100644
--- a/graphics/gltt/Makefile
+++ b/graphics/gltt/Makefile
@@ -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 --git a/graphics/gltt/files/patch-configure b/graphics/gltt/files/patch-configure
new file mode 100644
index 000000000000..4d80e31b06e4
--- /dev/null
+++ b/graphics/gltt/files/patch-configure
@@ -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 --git a/graphics/gltt/pkg-plist b/graphics/gltt/pkg-plist
index 17b8eb044647..cadf785cdef7 100644
--- a/graphics/gltt/pkg-plist
+++ b/graphics/gltt/pkg-plist
@@ -18,7 +18,6 @@ include/gltt/GLTTPixmapFont.h
include/gltt/GLTTboolean.h
include/gltt/GLTTminmax.h
lib/libgltt.a
-lib/libgltt.la
lib/libgltt.so
lib/libgltt.so.0
@dirrm include/gltt