From b5b06202aed8346efb3fc62daccf0fa9f94fba22 Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Mon, 18 Dec 2006 17:55:58 +0000 Subject: [PATCH] disable pycurl build for fc2 (not supported anyway) --- Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index fe50b46e..1851f23b 100644 --- a/Makefile +++ b/Makefile @@ -4,14 +4,22 @@ # Mark Huang # Copyright (C) 2005 The Trustees of Princeton University # -# $Id: Makefile,v 1.9 2006/12/15 16:19:49 mlhuang Exp $ +# $Id: Makefile,v 1.10 2006/12/15 16:20:20 mlhuang Exp $ # # Metafiles init := PLC/__init__.py PLC/Methods/__init__.py # Python modules -modules := psycopg2 pycurl +modules := psycopg2 + +# Temporarily until we can kill the Fedora Core 2 build +curl_vernum := $(shell printf %d 0x$(shell curl-config --vernum)) +pycurl_vernum := $(shell printf %d 0x070d01) # 7.13.1 +ifeq ($(shell test $(curl_vernum) -ge $(pycurl_vernum) && echo 1),1) +modules += pycurl +endif + modules-install := $(foreach module, $(modules), $(module)-install) modules-clean := $(foreach module, $(modules), $(module)-clean) -- 2.47.0