From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Aug 20 15:50:31 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC92716A4E4 for ; Fri, 20 Aug 2004 15:50:31 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96B2143D5E for ; Fri, 20 Aug 2004 15:50:31 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i7KFoVXj026973 for ; Fri, 20 Aug 2004 15:50:31 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7KFoVVc026966; Fri, 20 Aug 2004 15:50:31 GMT (envelope-from gnats) Resent-Date: Fri, 20 Aug 2004 15:50:31 GMT Resent-Message-Id: <200408201550.i7KFoVVc026966@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ying-Chieh Chen Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E0E716A4CE for ; Fri, 20 Aug 2004 15:41:22 +0000 (GMT) Received: from alumni.csie.nctu.edu.tw (alumni.csie.nctu.edu.tw [140.113.209.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1FF643D48 for ; Fri, 20 Aug 2004 15:41:21 +0000 (GMT) (envelope-from yinjieh@csie.nctu.edu.tw) Received: from alumni.csie.nctu.edu.tw (yinjieh@localhost [127.0.0.1]) i7KFfBSF055073 for ; Fri, 20 Aug 2004 23:41:11 +0800 (CST) Received: (from yinjieh@localhost) by alumni.csie.nctu.edu.tw (8.12.11/8.12.3/Submit) id i7KFfBgE055072; Fri, 20 Aug 2004 23:41:11 +0800 (CST) Message-Id: <200408201541.i7KFfBgE055072@alumni.csie.nctu.edu.tw> Date: Fri, 20 Aug 2004 23:41:11 +0800 (CST) From: Ying-Chieh Chen To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/70728: [UPDATE] Enable OPTIONS feature of ports/x11/ggiterm X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Ying-Chieh Chen List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2004 15:50:31 -0000 >Number: 70728 >Category: ports >Synopsis: [UPDATE] Enable OPTIONS feature of ports/x11/ggiterm >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Aug 20 15:50:31 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Ying-Chieh Chen >Release: FreeBSD 4.10-STABLE i386 >Organization: NCTU CSIE >Environment: System: FreeBSD alumni 4.10-STABLE FreeBSD 4.10-STABLE #25: Fri Jul 2 07:46:15 CST 2004 wcpan@ccduty:/bsdhome/bsd4/obj/bsdhome/bsd4/src/sys/CSIEBSD i386 >Description: Enable OPTIONS feature of ports/x11/ggiterm >How-To-Repeat: Apply the patch. >Fix: --- ggiterm.patch begins here --- diff -ruN /usr/ports/x11/ggiterm/Makefile ggiterm/Makefile --- /usr/ports/x11/ggiterm/Makefile Wed Mar 31 03:56:43 2004 +++ ggiterm/Makefile Fri Aug 20 21:05:45 2004 @@ -17,10 +17,6 @@ COMMENT= A terminal emulator for GGI LIB_DEPENDS= ggi.2:${PORTSDIR}/graphics/libggi -.if !defined(WITHOUT_FREETYPE) -LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2 -USE_ICONV= yes -.endif USE_GMAKE= yes USE_X_PREFIX= yes @@ -28,27 +24,19 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-ggi=${LOCALBASE} + +OPTIONS= FREETYPE "build with Freetype support" on + +.include + .if !defined(WITHOUT_FREETYPE) +LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2 +USE_ICONV= yes CONFIGURE_ARGS+=--with-ft-prefix=${LOCALBASE} .endif WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -pre-everything:: -.if !defined(WITHOUT_FREETYPE) - @${ECHO_MSG} "" - @${ECHO_MSG} "ggiterm can be built without Freetype support. However, as the author says," - @${ECHO_MSG} "'if you don't have freetype you lose much of the ggiterm reason for being,'" - @${ECHO_MSG} "so you probably don't want this. If you do, cancel now and build with:" - @${ECHO_MSG} " WITHOUT_FREETYPE=yes" - @${ECHO_MSG} "" -.else - @${ECHO_MSG} "" - @${ECHO_MSG} "You have chosen to build ggiterm without Freetype. If this wasn't your" - @${ECHO_MSG} "intention, cancel now and unset the 'WITHOUT_FREETYPE' variable." - @${ECHO_MSG} "" -.endif - post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @@ -56,4 +44,4 @@ @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif -.include +.include --- ggiterm.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: