Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Apr 2010 19:17:16 +0200
From:      Matthias Andree <mandree@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        krion@FreeBSD.org
Subject:   ports/146152: [PATCH] lang/gawk: unbreak "make install" on upgrades
Message-ID:  <E1O7XMS-00098e-FR@apollo.emma.line.org>
Resent-Message-ID: <201004291720.o3THK1LG087176@freefall.freebsd.org>

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

>Number:         146152
>Category:       ports
>Synopsis:       [PATCH] lang/gawk: unbreak "make install" on upgrades
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 29 17:20:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Andree
>Release:        FreeBSD 8.0-STABLE amd64
>Organization:
>Environment:
System: FreeBSD apollo.emma.line.org 8.0-STABLE FreeBSD 8.0-STABLE #8: Thu Apr 29 10:24:53 CEST 2010
>Description:
Gawk's configure script pulls in a pre-installed gawk. This breaks on
typical "make all deinstall install clean" upgrade scenarios, or with
portmaster, because it's used at "make install" time, when gawk is no
longer available.

Avoid this breakage by overriding the build awk to the system's ${AWK}.

Port maintainer (krion@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- gawk-3.1.7.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/lang/gawk/Makefile,v
retrieving revision 1.28
diff -u -u -r1.28 Makefile
--- Makefile	23 Apr 2010 12:39:14 -0000	1.28
+++ Makefile	29 Apr 2010 17:13:56 -0000
@@ -17,7 +17,8 @@
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-libiconv-prefix=${LOCALBASE} \
-		--with-libintl-prefix=${LOCALBASE}
+		--with-libintl-prefix=${LOCALBASE} \
+		AWK=${AWK}
 
 MAN1=		gawk.1 igawk.1 pgawk.1
 
--- gawk-3.1.7.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1O7XMS-00098e-FR>