- New option GD_PORT

- fix version of shared lib after gd changes.
- allow to build without X11 again
This commit is contained in:
Dirk Meyer 2003-07-01 17:02:46 +00:00
parent 49c5bc0b09
commit a76d7031a8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=84002

View file

@ -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