aboutsummaryrefslogtreecommitdiff
path: root/www/webalizer/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/webalizer/Makefile')
-rw-r--r--www/webalizer/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/www/webalizer/Makefile b/www/webalizer/Makefile
index fefbafbf46b1..ee7d61c7109e 100644
--- a/www/webalizer/Makefile
+++ b/www/webalizer/Makefile
@@ -16,8 +16,12 @@ DISTNAME= ${PORTNAME}-2.01-10-src
MAINTAINER= dinoex@FreeBSD.org
.if !defined(LIB_DEPENDS)
+.if defined(WEBALIZER_WITH_GD2)
+LIB_DEPENDS= gd.3:${PORTSDIR}/graphics/gd2
+.else
LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd
.endif
+.endif
USE_BZIP2= yes
GNU_CONFIGURE= yes