aboutsummaryrefslogtreecommitdiff
path: root/www/plog/Makefile
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-12-08 10:29:37 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-12-08 10:29:37 +0000
commitc46101db22a15cd6cb17c876a511e34e9b34cdfd (patch)
treed7b884544d315909371d9c1727890983184e24a9 /www/plog/Makefile
parentbf7f512b3860bca06dea55ade265e48422b79d3c (diff)
downloadports-c46101db22a15cd6cb17c876a511e34e9b34cdfd.tar.gz
ports-c46101db22a15cd6cb17c876a511e34e9b34cdfd.zip
Handle OPTIONS more properly for oncoming bsd.port.mk changes.
Notes
Notes: svn path=/head/; revision=123451
Diffstat (limited to 'www/plog/Makefile')
-rw-r--r--www/plog/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/plog/Makefile b/www/plog/Makefile
index 65cf7741b270..90ba930d0d65 100644
--- a/www/plog/Makefile
+++ b/www/plog/Makefile
@@ -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