[UPDATE] Enable OPTIONS feature of ports/graphics/xfig
Ying-Chieh Chen
yinjieh at csie.nctu.edu.tw
Fri Aug 20 07:58:55 PDT 2004
>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 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 ---
More information about the freebsd-ports
mailing list