mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
Handle OPTIONS more properly for oncoming bsd.port.mk changes.
This commit is contained in:
parent
bf7f512b38
commit
c46101db22
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=123451
@ -69,7 +69,7 @@ BUILD_DEPENDS+= ${SITE_PERL}/MIME/Lite.pm:${PORTSDIR}/mail/p5-MIME-Lite
|
||||
BUILD_DEPENDS+= ${SITE_PERL}/Mail/Send.pm:${PORTSDIR}/mail/p5-Mail-Tools
|
||||
.endif
|
||||
|
||||
.if defined(WITH_EMAIL_MAILSENDMAIL)
|
||||
.if !defined(WITHOUT_EMAIL_MAILSENDMAIL)
|
||||
BUILD_DEPENDS+= ${SITE_PERL}/Mail/Sendmail.pm:${PORTSDIR}/mail/p5-Mail-Sendmail
|
||||
.endif
|
||||
|
||||
|
@ -31,7 +31,7 @@ MANCOMPRESSED= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_UVSCAN) && ${WITH_UVSCAN:L} == "true"
|
||||
.if !defined(WITHOUT_UVSCAN)
|
||||
RUN_DEPENDS+= uvscan:${PORTSDIR}/security/vscan
|
||||
.endif
|
||||
|
||||
|
@ -28,7 +28,7 @@ OPTIONS= GD "With GD Support" on \
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_GD)
|
||||
.if !defined(WITHOUT_GD)
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/gd.so:${PORTSDIR}/${gd_DEPENDS}
|
||||
.endif
|
||||
|
||||
@ -36,7 +36,7 @@ RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/gd.so:${PORTSDIR}/${gd_DEPENDS
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:${PORTSDIR}/${imagick_DEPENDS}
|
||||
.endif
|
||||
|
||||
.if !defined(WITH_GD) && !defined(WITH_IMAGICK)
|
||||
.if defined(WITHOUT_GD) && !defined(WITH_IMAGICK)
|
||||
pre-patch:
|
||||
@${ECHO_CMD} "Without GD or ImageMagick support. No thumbnails will be generated at all."
|
||||
.endif
|
||||
|
@ -28,7 +28,7 @@ OPTIONS= GD "With GD Support" on \
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_GD)
|
||||
.if !defined(WITHOUT_GD)
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/gd.so:${PORTSDIR}/${gd_DEPENDS}
|
||||
.endif
|
||||
|
||||
@ -36,7 +36,7 @@ RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/gd.so:${PORTSDIR}/${gd_DEPENDS
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:${PORTSDIR}/${imagick_DEPENDS}
|
||||
.endif
|
||||
|
||||
.if !defined(WITH_GD) && !defined(WITH_IMAGICK)
|
||||
.if defined(WITHOUT_GD) && !defined(WITH_IMAGICK)
|
||||
pre-patch:
|
||||
@${ECHO_CMD} "Without GD or ImageMagick support. No thumbnails will be generated at all."
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user