summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2004-08-29 16:49:58 +0000
committerrecht <recht@pkgsrc.org>2004-08-29 16:49:58 +0000
commited134af8909ff5fd08ff6a1aca3c4c5a74edd379 (patch)
tree105b2d6c282d5b92c50198ee4f2e8c682010d85d /comms
parenta5fa3f018204376ab070ccfa70857de44392d4b3 (diff)
downloadpkgsrc-ed134af8909ff5fd08ff6a1aca3c4c5a74edd379.tar.gz
Add dependency on zlib to fix the build on systems without native zlib.
Based upon the patch provided in PR 26798 by Georg Schwarz.
Diffstat (limited to 'comms')
-rw-r--r--comms/hylafax/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/comms/hylafax/Makefile b/comms/hylafax/Makefile
index aa72c80cf36..381e922b207 100644
--- a/comms/hylafax/Makefile
+++ b/comms/hylafax/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2004/07/08 20:27:56 heinz Exp $
+# $NetBSD: Makefile,v 1.38 2004/08/29 16:49:58 recht Exp $
#
DISTNAME= hylafax-4.1.8
@@ -28,6 +28,8 @@ RCD_SCRIPTS= hylafax
HAS_CONFIGURE= YES
CONFIGURE_ENV= PREFIX="${PREFIX}" FAXUID="${FAXUSER}" FAXGID="${FAXGROUP}"
CONFIGURE_ARGS= --with-MAKE=${MAKE_PROGRAM} --with-INSTALL="" --nointeractive
+CONFIGURE_ARGS+= --with-ZLIBINC=-I${BUILDLINK_PREFIX.zlib}/include
+CONFIGURE_ARGS+= --with-LIBZ="-L${BUILDLINK_PREFIX.zlib}/lib -lz"
MANCOMPRESSED= yes
SUID_EXES= ${PREFIX}/libexec/faxgetty ${PREFIX}/sbin/faxq \
@@ -37,6 +39,7 @@ post-install:
${CHOWN} ${FAXUSER} ${SUID_EXES}
${CHMOD} 4555 ${SUID_EXES}
+.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../mk/ghostscript.mk"