summaryrefslogtreecommitdiffstats
path: root/print/cups/Makefile.common
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2004-01-10 05:46:04 +0000
committerpetef <petef@FreeBSD.org>2004-01-10 05:46:04 +0000
commitb714440150c4892b1417df617926aa3d1bb30b23 (patch)
tree7e17508b3a94d3e3a488d59d618302db01975687 /print/cups/Makefile.common
parentec1cd73dd1472359517de4d2e11a4b4ebee17bb0 (diff)
downloadFreeBSD-ports-b714440150c4892b1417df617926aa3d1bb30b23.zip
FreeBSD-ports-b714440150c4892b1417df617926aa3d1bb30b23.tar.gz
- add WITH_PERL and WITH_PYTHON knobs
- remove dependency on autoconf PR: 60557 Submitted by: Seva Gluschenko <gvs@rinet.ru>
Diffstat (limited to 'print/cups/Makefile.common')
-rw-r--r--print/cups/Makefile.common10
1 files changed, 9 insertions, 1 deletions
diff --git a/print/cups/Makefile.common b/print/cups/Makefile.common
index e23ef5f..355ec48 100644
--- a/print/cups/Makefile.common
+++ b/print/cups/Makefile.common
@@ -47,7 +47,15 @@ LIB_DEPENDS+= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff
-WANT_AUTOCONF_VER= 253
+.if defined(WITH_PHP)
+CONFIGURE_ARGS+= --with-php
+RUN_DEPENDS+= php:${PORTSDIR}/lang/php4
+.endif
+
+.if defined(WITH_PYTHON)
+CONFIGURE_ARGS+= --with-python
+USE_PYTHON= yes
+.endif
USE_BZIP2= yes
USE_GMAKE= yes
OpenPOWER on IntegriCloud