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:
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
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue