aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-07-02 01:02:46 +0800
committerdinoex <dinoex@FreeBSD.org>2003-07-02 01:02:46 +0800
commitf65c14b27b8c9735cde0dfa12a9d67ac62fee5c0 (patch)
tree5739226c2f3741978314497897df6dcf0aa95dd7 /www
parent2a0c225d9ccec3636d6697b5f0e3c88afa430456 (diff)
downloadfreebsd-ports-graphics-f65c14b27b8c9735cde0dfa12a9d67ac62fee5c0.tar.gz
freebsd-ports-graphics-f65c14b27b8c9735cde0dfa12a9d67ac62fee5c0.tar.zst
freebsd-ports-graphics-f65c14b27b8c9735cde0dfa12a9d67ac62fee5c0.zip
- New option GD_PORT
- fix version of shared lib after gd changes. - allow to build without X11 again
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