summaryrefslogtreecommitdiff
path: root/print/cups
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2004-01-10 05:46:04 +0000
committerPete Fritchman <petef@FreeBSD.org>2004-01-10 05:46:04 +0000
commit5a724c22d66bef1d8145bd1a3c8d20b246cbfb95 (patch)
treee4b7e6e04de6be7fc7311bc21c86d8cd74a8d766 /print/cups
parentFix the build and assign maintainership to the submitter. (diff)
- add WITH_PERL and WITH_PYTHON knobs
- remove dependency on autoconf PR: 60557 Submitted by: Seva Gluschenko <gvs@rinet.ru>
Notes
Notes: svn path=/head/; revision=97841
Diffstat (limited to 'print/cups')
-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 e23ef5f3fb76..355ec48edb89 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