ports/146152: [PATCH] lang/gawk: unbreak "make install" on upgrades

Matthias Andree mandree at FreeBSD.org
Thu Apr 29 17:20:02 UTC 2010


>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 at 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:



More information about the freebsd-ports-bugs mailing list