1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Add WITH_GD2 knob for building with gd2 rather than gd.

Submitted by:	David <david@dyn-ns.net>
This commit is contained in:
Dmitry Sivachenko 2002-08-15 06:34:22 +00:00
parent 06babcc4aa
commit 3c0311643b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=64527
2 changed files with 16 additions and 6 deletions

View File

@ -15,16 +15,21 @@ MASTER_SITE_SUBDIR= net/mrtg
MAINTAINER= demon@FreeBSD.org
.if defined(WITH_GD2)
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd2
CONFIGURE_ARGS= --with-gd-lib=${LOCALBASE}/lib \
--with-gd-inc=${LOCALBASE}/include
.else
LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd
CONFIGURE_ARGS= --with-gd-lib=${LOCALBASE}/lib \
--with-gd-inc=${LOCALBASE}/include/gd
.endif
USE_PERL5= YES
MAKE_ENV+= PERL=${PERL}
GNU_CONFIGURE= YES
CONFIGURE_ARGS= --with-gd-lib=${LOCALBASE}/lib \
--with-gd-inc=${LOCALBASE}/include/gd
CONFIGURE_ENV= PERL=${PERL}
MAN1= cfgmaker.1 contrib.1 faq.1 forum.1 indexmaker.1 logfile.1 \

View File

@ -15,16 +15,21 @@ MASTER_SITE_SUBDIR= net/mrtg
MAINTAINER= demon@FreeBSD.org
.if defined(WITH_GD2)
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd2
CONFIGURE_ARGS= --with-gd-lib=${LOCALBASE}/lib \
--with-gd-inc=${LOCALBASE}/include
.else
LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd
CONFIGURE_ARGS= --with-gd-lib=${LOCALBASE}/lib \
--with-gd-inc=${LOCALBASE}/include/gd
.endif
USE_PERL5= YES
MAKE_ENV+= PERL=${PERL}
GNU_CONFIGURE= YES
CONFIGURE_ARGS= --with-gd-lib=${LOCALBASE}/lib \
--with-gd-inc=${LOCALBASE}/include/gd
CONFIGURE_ENV= PERL=${PERL}
MAN1= cfgmaker.1 contrib.1 faq.1 forum.1 indexmaker.1 logfile.1 \