Date: Fri, 20 Aug 2004 22:58:44 +0800 (CST) From: Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw> To: FreeBSD-gnats-submit@freebsd.org Cc: ports@freebsd.org Subject: [UPDATE] Enable OPTIONS feature of ports/graphics/xfig Message-ID: <200408201458.i7KEwi1F053023@alumni.csie.nctu.edu.tw>
next in thread | raw e-mail | index | archive | help
>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 <bsd.port.pre.mk> post-extract: @${CP} ${WRKSRC}/Doc/xfig.man ${WRKSRC} @@ -47,4 +45,4 @@ @${REINPLACE_CMD} -e 's|-DGSBIT ||g' ${WRKSRC}/Imakefile .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> --- xfig.patch ends here ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408201458.i7KEwi1F053023>