summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2002-08-12 23:16:00 +0000
committerGreg Lewis <glewis@FreeBSD.org>2002-08-12 23:16:00 +0000
commit5305a255f023a818a0e7ca1dca1e743339389372 (patch)
treecf5f051b0424ed74907c0f6e5072ac30af7541c2 /comms
parentUpdate to 0.3.2. (diff)
. Remove dependencies on bash, HylaFAX builds and (reportedly) runs
fine with /bin/sh. . Add a knob (PAGESIZE to correspond to the HylaFAX configure variable) so one can choose a paper size other than US Letter. . Use noninteractive configure when building in BATCH mode. The PR also suggests adding an option to install hfaxd setuid so it can be run from inetd. This seems bogus though as inetd.conf allows one to specify the user to start the process as. PR: 31684
Notes
Notes: svn path=/head/; revision=64457
Diffstat (limited to 'comms')
-rw-r--r--comms/hylafax/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/comms/hylafax/Makefile b/comms/hylafax/Makefile
index 9b6aee5955dd..1e04c0f0f99c 100644
--- a/comms/hylafax/Makefile
+++ b/comms/hylafax/Makefile
@@ -12,11 +12,9 @@ MASTER_SITES= ftp://ftp.hylafax.org/source/
MAINTAINER= ports@FreeBSD.org
-BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash2 \
- ${LOCALBASE}/lib/afm/Courier:${PORTSDIR}/print/afm
+BUILD_DEPENDS= ${LOCALBASE}/lib/afm/Courier:${PORTSDIR}/print/afm
# no dependency on ghostscript because we don't know which
# version the user prefers
-RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
jpeg.9:${PORTSDIR}/graphics/jpeg
@@ -28,7 +26,11 @@ CONFIGURE_ARGS= --with-INSTALL="" \
--with-TIFFINC="${LOCALBASE}/include" \
--with-GCOPTS=" " --with-GCXXOPTS=" " \
--with-REGEX=no --with-LIBREGEX='' --with-REGEXINC=none
-.ifdef PACKAGE_BUILDING
+# Defaults to "North American Letter". Use "ISO A4" for A4.
+.ifdef PAGESIZE
+CONFIGURE_ARGS+=--with-PAGESIZE="${PAGESIZE}"
+.endif
+.if defined(PACKAGE_BUILDING) || defined(BATCH)
CONFIGURE_ARGS+=--nointeractive
.endif
MAKE_ARGS+= OPTIMIZER="" -EOPTIMIZER