--- print/cups/Makefile.common.orig Thu Dec 25 15:55:35 2003 +++ print/cups/Makefile.common Thu Dec 25 16:06:16 2003 @@ -47,7 +47,22 @@ png.5:${PORTSDIR}/graphics/png \ tiff.4:${PORTSDIR}/graphics/tiff -WANT_AUTOCONF_VER= 253 +.if defined(WITH_PERL) +CONFIGURE_ARGS+= --with-perl +RUN_DEPENDS+= perl:${PORTSDIR}/lang/perl5 +.endif + +.if defined(WITH_PHP) +CONFIGURE_ARGS+= --with-php +RUN_DEPENDS+= php:${PORTSDIR}/lang/php4 +.endif + +.if defined(WITH_PYTHON) +CONFIGURE_ARGS+= --with-python +RUN_DEPENDS+= python:${PORTSDIR}/lang/python23 +.endif + +#WANT_AUTOCONF_VER= 253 USE_BZIP2= yes USE_GMAKE= yes