Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jun 2000 20:12:06 -0400 (EDT)
From:      Mikhail Teterin <mi@privatelabs.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/19552: improving comms/hylafax port
Message-ID:  <200006280012.UAA22381@misha.privatelabs.com>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006280012.UAA22381>