ports/70716: [UPDATE] Enable OPTIONS feature of ports/graphics/xfig

Ying-Chieh Chen yinjieh at csie.nctu.edu.tw
Fri Aug 20 15:00:40 UTC 2004


>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 at 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:



More information about the freebsd-ports-bugs mailing list