From owner-freebsd-ports@FreeBSD.ORG Fri Aug 20 14:58:55 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14FD016A4CE; Fri, 20 Aug 2004 14:58:55 +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 8BADA43D49; Fri, 20 Aug 2004 14:58:54 +0000 (GMT) (envelope-from yinjieh@csie.nctu.edu.tw) Received: from alumni.csie.nctu.edu.tw (yinjieh@localhost [127.0.0.1]) i7KEwiBH053024; Fri, 20 Aug 2004 22:58:44 +0800 (CST) Received: (from yinjieh@localhost) by alumni.csie.nctu.edu.tw (8.12.11/8.12.3/Submit) id i7KEwi1F053023; Fri, 20 Aug 2004 22:58:44 +0800 (CST) Date: Fri, 20 Aug 2004 22:58:44 +0800 (CST) Message-Id: <200408201458.i7KEwi1F053023@alumni.csie.nctu.edu.tw> To: FreeBSD-gnats-submit@freebsd.org From: Ying-Chieh Chen X-send-pr-version: 3.113 X-GNATS-Notify: cc: ports@freebsd.org Subject: [UPDATE] Enable OPTIONS feature of ports/graphics/xfig X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Ying-Chieh Chen List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2004 14:58:55 -0000 >Submitter-Id: current-users >Originator: Ying-Chieh Chen >Organization: NCTU CSIE >Confidential: no >Synopsis: [UPDATE] Enable OPTIONS feature of ports/graphics/xfig >Severity: non-critical >Priority: low >Category: ports >Class: update >Release: FreeBSD 4.10-STABLE i386 >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/graphics/xfig >How-To-Repeat: Apply the patch. >Fix: --- xfig.patch begins here --- diff -ruN /usr/ports/graphics/xfig/Makefile xfig/Makefile --- /usr/ports/graphics/xfig/Makefile Sun Oct 5 18:04:19 2003 +++ xfig/Makefile Fri Aug 20 18:59:40 2004 @@ -33,11 +33,9 @@ INSTALL_TARGET= install install.all .endif -pre-everything:: -.if !defined(WITHOUT_GHOSTSCRIPT) - @${ECHO_MSG} "To build this port without Ghostscript support," - @${ECHO_MSG} "define \"WITHOUT_GHOSTSCRIPT\"." -.endif +OPTIONS= GHOSTSCRIPT "Ghostscript support" on + +.include post-extract: @${CP} ${WRKSRC}/Doc/xfig.man ${WRKSRC} @@ -47,4 +45,4 @@ @${REINPLACE_CMD} -e 's|-DGSBIT ||g' ${WRKSRC}/Imakefile .endif -.include +.include --- xfig.patch ends here ---