summaryrefslogtreecommitdiff
path: root/www/webalizer
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-07-01 17:02:46 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-07-01 17:02:46 +0000
commita76d7031a8374f238a62a6de6584cd0684a1c19d (patch)
treedc99aef2d72635dbb31238f22cbc49a82ff4f820 /www/webalizer
parent- slave port to graphics/gd (diff)
- New option GD_PORT
- fix version of shared lib after gd changes. - allow to build without X11 again
Notes
Notes: svn path=/head/; revision=84002
Diffstat (limited to 'www/webalizer')
-rw-r--r--www/webalizer/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/webalizer/Makefile b/www/webalizer/Makefile
index 0ad03f47ca74..6e8e12d6adc8 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