pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/comms/hylafax Add dependency on zlib to fix the build ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f4d8f504ada8
branches:  trunk
changeset: 480076:f4d8f504ada8
user:      recht <recht%pkgsrc.org@localhost>
date:      Sun Aug 29 16:49:58 2004 +0000

description:
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:

 comms/hylafax/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 0f8201fd4185 -r f4d8f504ada8 comms/hylafax/Makefile
--- a/comms/hylafax/Makefile    Sun Aug 29 16:44:48 2004 +0000
+++ b/comms/hylafax/Makefile    Sun Aug 29 16:49:58 2004 +0000
@@ -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 @@
 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 @@
        ${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"



Home | Main Index | Thread Index | Old Index