From 3859a504662fdf829e432b8b8cd39ccc277a852b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 9 Feb 2018 23:02:35 +0100 Subject: python/build/libs.py: convert CURL edit to quilt patch --- python/build/libs.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'python') diff --git a/python/build/libs.py b/python/build/libs.py index 569159f34..7d93799d8 100644 --- a/python/build/libs.py +++ b/python/build/libs.py @@ -1,4 +1,6 @@ import re +from os.path import abspath + from build.project import Project from build.zlib import ZlibProject from build.autotools import AutotoolsProject @@ -359,11 +361,7 @@ curl = AutotoolsProject( '--without-ssl', '--without-gnutls', '--without-nss', '--without-libssh2', ], - edits={ - # build only the library, not the "curl" command-line tool - 'Makefile.in': lambda data: re.sub(r'^SUBDIRS = lib src$', r'SUBDIRS = lib', - data, count=1, flags=re.MULTILINE), - } + patches='src/lib/curl/patches', ) boost = BoostProject( -- cgit v1.2.3