From f65c14b27b8c9735cde0dfa12a9d67ac62fee5c0 Mon Sep 17 00:00:00 2001 From: dinoex Date: Tue, 1 Jul 2003 17:02:46 +0000 Subject: - New option GD_PORT - fix version of shared lib after gd changes. - allow to build without X11 again --- www/webalizer/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'www') 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 -- cgit