From owner-freebsd-ports Tue Jun 27 17:20:11 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 5864A37C350 for ; Tue, 27 Jun 2000 17:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA88241; Tue, 27 Jun 2000 17:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from privatecube.privatelabs.com (privatecube.privatelabs.com [198.143.31.30]) by hub.freebsd.org (Postfix) with ESMTP id A907F37B61E for ; Tue, 27 Jun 2000 17:13:29 -0700 (PDT) (envelope-from mi@privatelabs.com) Received: from misha.privatelabs.com (root@misha.privatelabs.com [198.143.31.6]) by privatecube.privatelabs.com (8.9.3/8.9.2) with ESMTP id UAA14184 for ; Tue, 27 Jun 2000 20:11:49 -0400 Received: (from mi@localhost) by misha.privatelabs.com (8.9.3/8.9.3) id UAA22381; Tue, 27 Jun 2000 20:12:06 -0400 (EDT) (envelope-from mi) Message-Id: <200006280012.UAA22381@misha.privatelabs.com> Date: Tue, 27 Jun 2000 20:12:06 -0400 (EDT) From: Mikhail Teterin Reply-To: mi@aldan.algebra.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/19552: improving comms/hylafax port Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 19552 >Category: ports >Synopsis: improving comms/hylafax port >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jun 27 17:20:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Mikhail Teterin >Release: FreeBSD 4.0-STABLE i386 >Organization: Virtual Estates, Inc. >Environment: >Description: Currently, the hylafax port has a few flaws -- it uses the libz and regex libraries that come with the software instead of the implementations available on FreeBSD and ignores the local CFLAGS settings. It also needlessly (it seems) requires gmake. This patch is trying to address all of this issues. It is possible, that our /bin/sh has evolved sufficiently to no longer require bash too, but that's harder to test. >How-To-Repeat: >Fix: rm patches/patch-ah then, apply the following: --- Makefile Tue Jun 27 09:46:22 2000 +++ Makefile Tue Jun 27 20:05:36 2000 @@ -29,8 +29,9 @@ -USE_GMAKE= yes CONFIGURE_ARGS= --with-INSTALL="" \ - --with-MAKE=gmake --with-CC=/usr/bin/cc \ --with-LIBTIFF="-L${LOCALBASE}/lib -ltiff -ljpeg" \ - --with-TIFFINC="${LOCALBASE}/include" + --with-ZLIB=no --with-LIBZ=-lz --with-ZLIBINC=none \ + --with-TIFFINC="${LOCALBASE}/include" \ + --with-REGEX=no --with-LIBREGEX='' --with-REGEXINC=none HAS_CONFIGURE= yes +CONFIGURE_ENV= ENVOPTS="${CFLAGS}" @@ -51,2 +52,5 @@ ${PREFIX}/bin/faxrm ${PREFIX}/bin/faxalter + +post-extract: + ${RM} -rf ${WRKSRC}/zlib ${WRKSRC}/regex >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message