diff options
author | recht <recht> | 2004-08-29 16:49:58 +0000 |
---|---|---|
committer | recht <recht> | 2004-08-29 16:49:58 +0000 |
commit | da210be8038a15ec89684459b58445d50befb1d2 (patch) | |
tree | 105b2d6c282d5b92c50198ee4f2e8c682010d85d | |
parent | d8cbb09f023e259d39c7b2848c6e6657ebc9806b (diff) | |
download | pkgsrc-da210be8038a15ec89684459b58445d50befb1d2.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.
-rw-r--r-- | comms/hylafax/Makefile | 5 |
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" |