From 938067f54a060bdc113bf144bd994837cc43f38a Mon Sep 17 00:00:00 2001 From: demon Date: Thu, 18 Nov 2004 09:08:41 +0000 Subject: Fix build on 5.x. Get rid of gmake dependency. PR: 74016 Submitted by: Eugene Ossintsev --- security/qca-tls/Makefile | 1 - security/qca-tls/files/patch-configure | 39 ++++++++++++++++++++++++++++++++-- 2 files changed, 37 insertions(+), 3 deletions(-) (limited to 'security') diff --git a/security/qca-tls/Makefile b/security/qca-tls/Makefile index 25b47ed13bbd..1f10f087010d 100644 --- a/security/qca-tls/Makefile +++ b/security/qca-tls/Makefile @@ -19,7 +19,6 @@ BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake HAS_CONFIGURE= yes USE_X_PREFIX= yes USE_BZIP2= yes -USE_GMAKE= yes USE_QT_VER= 3 QT_NONSTANDARD= yes CONFIGURE_ENV= QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ diff --git a/security/qca-tls/files/patch-configure b/security/qca-tls/files/patch-configure index 36ac56a8fda7..f7bc54689dcc 100644 --- a/security/qca-tls/files/patch-configure +++ b/security/qca-tls/files/patch-configure @@ -1,5 +1,26 @@ ---- configure.orig Thu Dec 18 01:54:50 2003 -+++ configure Tue Jan 27 14:58:26 2004 +--- configure.orig Wed Dec 17 23:54:50 2003 ++++ configure Tue Nov 16 12:33:52 2004 +@@ -20,17 +20,17 @@ + while [ $# -gt 0 ]; do + case "$1" in + --qtdir=*) +- QTDIR=`expr "${1}" : "--qtdir=\(.*\)"` ++ QTDIR="${1#--qtdir=}" + shift + ;; + + --with-openssl-inc=*) +- QC_WITH_OPENSSL_INC=`expr "${1}" : "--with-openssl-inc=\(.*\)"` ++ QC_WITH_OPENSSL_INC="${1#--with-openssl-inc=}" + shift + ;; + + --with-openssl-lib=*) +- QC_WITH_OPENSSL_LIB=`expr "${1}" : "--with-openssl-lib=\(.*\)"` ++ QC_WITH_OPENSSL_LIB="${1#--with-openssl-lib=}" + shift + ;; + @@ -43,6 +43,8 @@ esac done @@ -27,3 +48,17 @@ lib = s; } else { +@@ -570,13 +570,6 @@ + echo + exit 1; + fi +-cat >Makefile.tmp <> Makefile.tmp +-rm -f Makefile +-cp -f Makefile.tmp Makefile +-rm -f Makefile.tmp + + echo + echo Good, your configure finished. Now run \'make\'. -- cgit