Change NO_GSBIT to WITHOUT_GHOSTSCRIPT. This has two benefits:

1) Consistency with other support exclusion options in the ports tree.
2) Better odds that the option will be shared by other ports.
This commit is contained in:
Sheldon Hearn 2001-07-04 19:12:39 +00:00
parent 2a23ca4ae8
commit 2c51eea233
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44761
2 changed files with 4 additions and 4 deletions

View file

@ -31,13 +31,13 @@ INSTALL_TARGET= install install.all
.endif
pre-fetch:
.if !defined(NO_GSBIT)
.if !defined(WITHOUT_GHOSTSCRIPT)
@${ECHO_MSG} "To build this port without Ghostscript support,"
@${ECHO_MSG} "define \"NO_GSBIT\"."
.endif
post-patch:
.if defined(NO_GSBIT)
.if defined(WITHOUT_GHOSTSCRIPT)
@${PERL} -pi -e 's|-DGSBIT ||g' ${WRKSRC}/Imakefile
.endif

View file

@ -31,13 +31,13 @@ INSTALL_TARGET= install install.all
.endif
pre-fetch:
.if !defined(NO_GSBIT)
.if !defined(WITHOUT_GHOSTSCRIPT)
@${ECHO_MSG} "To build this port without Ghostscript support,"
@${ECHO_MSG} "define \"NO_GSBIT\"."
.endif
post-patch:
.if defined(NO_GSBIT)
.if defined(WITHOUT_GHOSTSCRIPT)
@${PERL} -pi -e 's|-DGSBIT ||g' ${WRKSRC}/Imakefile
.endif