Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  9 Jul 2008 16:13:16 +0800 (CST)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/125424: Add USE_FREETYPE2 knob to bsd.port.mk 
Message-ID:  <20080709081316.4D57A340F@sunpoet.net>
Resent-Message-ID: <200807090820.m698K1ks089658@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         125424
>Category:       ports
>Synopsis:       Add USE_FREETYPE2 knob to bsd.port.mk
>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:   Wed Jul 09 08:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 7.0-STABLE amd64
>Organization:
SUNPOET.net
>Environment:
System: FreeBSD bonjour.sunpoet.net 7.0-STABLE FreeBSD 7.0-STABLE #8: Wed Jun 11 22:35:07 CST 2008 sunpoet@bonjour.sunpoet.net:/usr/obj/usr/src/sys/bonjour amd64
	
>Description:
Add USE_FREETYPE2 knob for port using freetype 2.x.
	
>How-To-Repeat:
	
>Fix:
--- /usr/ports/Mk/bsd.port.mk.orig	2008-07-01 04:16:17.000000000 +0800
+++ /usr/ports/Mk/bsd.port.mk	2008-07-09 15:12:40.558956834 +0800
@@ -379,7 +379,8 @@
 #				  if PACKAGE_BUILDING is not set, then CONFIGURE_ENV and
 #				  MAKE_ENV are extended with a DISPLAY variable.
 #
-# USE_FREETYPE	- If set, this port uses the freetype print libraries.
+# USE_FREETYPE	- If set, this port uses the freetype 1.x print libraries.
+# USE_FREETYPE2	- If set, this port uses the freetype 2.x print libraries.
 # USE_GL		- A list of Mesa or GL related dependencies needed by the port.
 #				  Supported components are: glut, glu, glw, gl and linux.
 #				  If set to "yes", this is equivalent to "glu". Note that
@@ -1848,6 +1849,10 @@
 LIB_DEPENDS+=			ttf.4:${PORTSDIR}/print/freetype
 .endif
 
+.if defined(USE_FREETYPE2)
+LIB_DEPENDS+=			freetype.9:${PORTSDIR}/print/freetype2
+.endif
+
 X_IMAKE_PORT=		${PORTSDIR}/devel/imake
 X_LIBRARIES_PORT=	${PORTSDIR}/x11/xorg-libraries
 X_CLIENTS_PORT=		${PORTSDIR}/x11/xorg-apps

	
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080709081316.4D57A340F>