aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/webalizer/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/webalizer/Makefile b/www/webalizer/Makefile
index 0ad03f47ca7..6e8e12d6adc 100644
--- a/www/webalizer/Makefile
+++ b/www/webalizer/Makefile
@@ -17,10 +17,9 @@ MAINTAINER?= dinoex@FreeBSD.org
COMMENT= A web server log file analysis program
.if !defined(LIB_DEPENDS)
-.if defined(WEBALIZER_WITH_GD2)
-LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd2
-.else
-LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd
+LIB_DEPENDS= gd.4:${PORTSDIR}/${GD_PORT}
+.if defined(WEBALIZER_WITH_GD2)
+GD_PORT?= graphics/gd2
.endif
.endif
@@ -28,6 +27,7 @@ USE_BZIP2= yes
GNU_CONFIGURE= yes
DOCSDIR?= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
EXAMPLESDIR?= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
+GD_PORT?= graphics/gd-nox11
.if defined(BATCH)
# no cosmetique spaces allowed