Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2002 23:35:16 -0600 (CST)
From:      Glenn Johnson <glennpj@charter.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/34153: The apsfilter configure script adds bzip2 as a dependency.
Message-ID:  <200201220535.g0M5ZGL23468@gforce.johnson.home>

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

>Number:         34153
>Category:       ports
>Synopsis:       The apsfilter configure script adds bzip2 as a dependency.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 21 21:40:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Glenn Johnson
>Release:        FreeBSD 4.5-RC i386
>Organization:
>Environment:
System: FreeBSD gforce.johnson.home 4.5-RC FreeBSD 4.5-RC #11: Mon Jan 21 10:43:01 CST 2002 root@gforce.johnson.home:/usr/obj/usr/src/sys/GFORCE i386


        

>Description:

        When installing the apsfilter port, you are prompted to select
        the file type you want to print.  One of the selections is
        BZIP2.  If one selects this, the bzip2 port is added to the
        RUN_DEPENDS make variable.  This is inappropriate on FreeBSD
        systems that have bzip2 in the base system.

        The attached patch adds a simple test expression to
        the BZIP2 case in the configure script located in
        $PORTS/print/apsfilter/scripts

>How-To-Repeat:

        <code/input/activities to reproduce the problem (multiple
        lines)>

>Fix:

        Apply the attached patch to
        $PORTS/print/apsfilter/scripts/configure


--- configure.orig	Mon Jan 21 23:24:01 2002
+++ configure	Mon Jan 21 23:24:34 2002
@@ -135,7 +135,9 @@
 		echo RUN_DEPENDS+=smbclient:${PORTSDIR}/net/samba
 		;;
 	\"BZIP2\")
-		echo RUN_DEPENDS+=bunzip2:${PORTSDIR}/archivers/bzip2
+		if [ ! -x /usr/bin/bzip2 ]; then
+			echo RUN_DEPENDS+=bunzip2:${PORTSDIR}/archivers/bzip2
+		fi
 		;;
 	\"FREEZE\")
 		echo RUN_DEPENDS+=melt:${PORTSDIR}/archivers/freeze
>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?200201220535.g0M5ZGL23468>