View | Details | Raw Unified | Return to bug 239285
Collapse All | Expand All

(-)Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	automake
4
PORTNAME=	automake
5
PORTVERSION=	1.16.1
5
PORTVERSION=	1.16.1
6
PORTREVISION=	1
6
PORTREVISION=	2
7
CATEGORIES=	devel
7
CATEGORIES=	devel
8
MASTER_SITES=	GNU
8
MASTER_SITES=	GNU
9
9
(-)files/patch-bug31222 (+31 lines)
Line 0 Link Here
1
From a348d830659fffd2cfc42994524783b07e69b4b5 Mon Sep 17 00:00:00 2001
2
From: Mathieu Lirzin <mthl@gnu.org>
3
Date: Sun, 8 Jul 2018 23:41:42 +0200
4
Subject: [PATCH] python: Don't use '\n' in sed substitution
5
6
This change fixes automake bug#31222.
7
8
On macOS, 'sed' interprets '\n' in the substitution text as the letter 'n'
9
instead of as a newline.
10
11
* lib/am/python.am [?FIRST?] (am__pep3147_tweak): Use a space instead of '\n'.
12
* NEWS: Update.
13
---
14
 NEWS             | 8 ++++++++
15
 lib/am/python.am | 2 +-
16
 2 files changed, 9 insertions(+), 1 deletion(-)
17
18
--- lib/am/python.am.orig	2018-02-26 20:38:27 UTC
19
+++ lib/am/python.am
20
@@ -97,7 +97,7 @@ endif %?INSTALL%
21
 if %?INSTALL%
22
 
23
 ?FIRST?am__pep3147_tweak = \
24
-?FIRST?  sed -e 's|\.py$$||' -e 's|[^/]*$$|&.*.pyc\n&.*.pyo|'
25
+?FIRST?  sed -e 's|\.py$$||' -e 's|[^/]*$$|&.*.pyc &.*.pyo|'
26
 
27
 .PHONY uninstall-am: uninstall-%DIR%PYTHON
28
 uninstall-%DIR%PYTHON:
29
-- 
30
2.22.0
31

Return to bug 239285