Skip site navigation (1)Skip section navigation (2)
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:   ports/70716: [UPDATE] Enable OPTIONS feature of ports/graphics/xfig
Message-ID:  <200408201458.i7KEwi1F053023@alumni.csie.nctu.edu.tw>
Resent-Message-ID: <200408201500.i7KF0dEv019868@freefall.freebsd.org>

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

>Number:         70716
>Category:       ports
>Synopsis:       [UPDATE] Enable OPTIONS feature of ports/graphics/xfig
>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:00:39 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/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 ---


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



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