From 8468f07fa736e707d5b9af7d54ab2c68655ac86e Mon Sep 17 00:00:00 2001 From: recht Date: Sun, 29 Aug 2004 16:49:58 +0000 Subject: Add dependency on zlib to fix the build on systems without native zlib. Based upon the patch provided in PR 26798 by Georg Schwarz. --- comms/hylafax/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'comms/hylafax/Makefile') 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" -- cgit v1.2.3