Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Feb 2006 14:13:00 -0500 (EST)
From:      Talal Al-Dik <tad@vif.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/92988: Fix port:comms/hylafax unbreak port now works with lib_tiff-3.8
Message-ID:  <200602071913.k17JD0ti077518@www.vif.com>
Resent-Message-ID: <200602071920.k17JK8Hd009037@freefall.freebsd.org>

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

>Number:         92988
>Category:       ports
>Synopsis:       Fix port:comms/hylafax unbreak port now works with lib_tiff-3.8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 07 19:20:07 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Talal Al-Dik
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
VIF Internet
>Environment:
System: FreeBSD weasel.vif.com 6.0-STABLE FreeBSD 6.0-STABLE #0: Tue Jan 31 20:23:35 EST 2006 squid@roxy.vif.com:/usr/obj/usr/src/sys/ROXY i386
>Description:
port was broken because it did not compile with newer lib_tiff
patched configure file to allow compilation with lib_tiff-3.8
>How-To-Repeat:
>Fix:

diff -ruN Makefile.old Makefile
--- Makefile.old        Tue Feb  7 13:47:24 2006
+++ Makefile    Tue Feb  7 13:47:37 2006
@@ -23,7 +23,6 @@
 
 RUN_DEPENDS=   gawk:${PORTSDIR}/lang/gawk
 
-BROKEN=                Configure fails
 
 DIST_SUBDIR=   hylafax
 
@@ -98,6 +97,12 @@
 post-patch:
        ${REINPLACE_CMD} \
                -e 's,/usr/local,${LOCALBASE},g' \
+               ${WRKSRC}/configure ; \
+       ${REINPLACE_CMD} \
+               -e 's,3\.7" \]; then,3.7" -o "\$${lib_ver}" = "3.8" ]; then,' \
+               ${WRKSRC}/configure ; \
+       ${REINPLACE_CMD} \
+               -e 's,or 3\.7\.  If,or 3.7 or 3.8.  If,' \
                ${WRKSRC}/configure
 
 post-install:
>Release-Note:
>Audit-Trail:
>Unformatted:



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