From owner-freebsd-ports Tue Oct 12 2:50: 8 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9D72E156E2 for ; Tue, 12 Oct 1999 02:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id CAA12290; Tue, 12 Oct 1999 02:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from id-arts.com (idarts1.cerbernet.co.uk [193.243.233.110]) by hub.freebsd.org (Postfix) with ESMTP id 803B61529B for ; Tue, 12 Oct 1999 02:40:13 -0700 (PDT) (envelope-from dave@id-arts.com) Received: (from dave@localhost) by id-arts.com (8.9.3/8.9.3) id JAA06620; Tue, 12 Oct 1999 09:39:26 GMT (envelope-from dave) Message-Id: <199910120939.JAA06620@id-arts.com> Date: Tue, 12 Oct 1999 09:39:26 GMT From: dave@id-arts.com Reply-To: dave@id-arts.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/14280: port cftp-0.9.3 build flag USE_SSL does nothing! Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 14280 >Category: ports >Synopsis: port cftp-0.9.3 build flag USE_SSL does nothing! >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 12 02:50:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: David Hanney >Release: FreeBSD 3.3-RELEASE i386 >Organization: ID Arts LTD >Environment: FreeBSD server.workgroup 3.3-RELEASE FreeBSD 3.3-RELEASE #1: Wed Oct 6 12:05:59 GMT 1999 dave@server.workgroup:/usr/src/sys/compile/GENERIC i386 I'm using the latest ports hierarchy (cvsuped today) >Description: The port built cleanly with USE_SSL=1 but the resulting curl didn't support SSL! >How-To-Repeat: cd /usr/ports/ftp/curl make clean make USE_SSL=1 make install curl https://www.passcenter.com curl says curl: SSL is disabled, https: not supported! >Fix: After patching the Makefile like this: *** Makefile.old Wed Oct 6 11:52:44 1999 --- Makefile Wed Oct 6 11:52:47 1999 *************** *** 20,26 **** .endif .if defined(USE_SSL) ! CONFIGURE_ENV+= CPPFLAGS='-I${PREFIX}/include -I${PREFIX}/include/openssl' \ LDFLAGS='-L${PREFIX}/lib' .endif --- 20,26 ---- .endif .if defined(USE_SSL) ! CONFIGURE_ENV+= CPPFLAGS='-DUSE_SSLEAY -I${PREFIX}/include/openssl -I${PREFIX}/include' \ LDFLAGS='-L${PREFIX}/lib' .endif build again: make USE_SSL=1 when it blows up do this: pushd work/curl-5.9/src/ sed "s/-lcrypto/-lssl -lcrypto -lRSAglue -lrsaref/" Makefile >tmp cp tmp Makefile rm tmp popd make USE_SSL=1 it now builds to completion and the result has SSL support. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message