Fix build on 5.x.
Get rid of gmake dependency. PR: 74016 Submitted by: Eugene Ossintsev <eugos@gmx.net>
This commit is contained in:
parent
f68497b9bf
commit
e1663fc875
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=121857
@ -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++
|
||||
|
@ -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 <<EOT
|
||||
-export QTDIR = $QTDIR
|
||||
-EOT
|
||||
-cat Makefile >> Makefile.tmp
|
||||
-rm -f Makefile
|
||||
-cp -f Makefile.tmp Makefile
|
||||
-rm -f Makefile.tmp
|
||||
|
||||
echo
|
||||
echo Good, your configure finished. Now run \'make\'.
|
||||
|
Loading…
Reference in New Issue
Block a user