1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

- remove dependency on gmake

- compensate for changed expr behavior
- bump PORTREVISION

PR:		61175
Submitted by:	maintainer
This commit is contained in:
Pete Fritchman 2004-01-11 17:38:02 +00:00
parent 886ae5bd05
commit e059d8e580
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=97936
4 changed files with 120 additions and 14 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= psi
PORTVERSION= 0.9.1
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -17,11 +18,9 @@ COMMENT= A Qt-based Jabber client
HAS_CONFIGURE= yes
USE_X_PREFIX= yes
USE_BZIP2= yes
USE_GMAKE= yes
USE_QT_VER= 3
CONFIGURE_ENV= QTDIR=${X11BASE} \
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
CONFIGURE_ARGS= --prefix=${PREFIX}
CONFIGURE_ENV= QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
CONFIGURE_ARGS= --prefix=${PREFIX} --qtdir=${X11BASE} --disable-kde
MAKE_ARGS+= QTDIR=${X11BASE} \
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++

View File

@ -1,9 +1,49 @@
$FreeBSD$
Hack configure to eat autogenerated qt options and to fix a bashism (type -p).
Hack configure to eat autogenerated qt options, to fix a bashism (type -p),
to avoid using expr, and to do the main Makefile make(1) compatible.
--- configure.orig Wed Dec 10 03:10:03 2003
+++ configure Wed Jan 7 16:30:11 2004
--- configure.orig Wed Dec 10 01:10:03 2003
+++ configure Sat Jan 10 15:52:00 2004
@@ -27,32 +27,32 @@
while [ $# -gt 0 ]; do
case "$1" in
--prefix=*)
- PREFIX=`expr "${1}" : "--prefix=\(.*\)"`
+ PREFIX="${1#--prefix=}"
shift
;;
--bindir=*)
- BINDIR=`expr "${1}" : "--bindir=\(.*\)"`
+ BINDIR="${1#--bindir=}"
shift
;;
--libdir=*)
- LIBDIR=`expr "${1}" : "--libdir=\(.*\)"`
+ LIBDIR="${1#--libdir=}"
shift
;;
--qtdir=*)
- QTDIR=`expr "${1}" : "--qtdir=\(.*\)"`
+ QTDIR="${1#--qtdir=}"
shift
;;
--with-zlib-inc=*)
- QC_WITH_ZLIB_INC=`expr "${1}" : "--with-zlib-inc=\(.*\)"`
+ QC_WITH_ZLIB_INC="${1#--with-zlib-inc=}"
shift
;;
--with-zlib-lib=*)
- QC_WITH_ZLIB_LIB=`expr "${1}" : "--with-zlib-lib=\(.*\)"`
+ QC_WITH_ZLIB_LIB="${1#--with-zlib-lib=}"
shift
;;
@@ -81,6 +81,8 @@
shift
;;
@ -22,3 +62,17 @@ Hack configure to eat autogenerated qt options and to fix a bashism (type -p).
if [ -x "$qm" ]; then
if [ "$QC_DEBUG" = "Y" ]; then
echo qmake found in $qm
@@ -917,13 +919,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\'.

View File

@ -7,6 +7,7 @@
PORTNAME= psi
PORTVERSION= 0.9.1
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -17,11 +18,9 @@ COMMENT= A Qt-based Jabber client
HAS_CONFIGURE= yes
USE_X_PREFIX= yes
USE_BZIP2= yes
USE_GMAKE= yes
USE_QT_VER= 3
CONFIGURE_ENV= QTDIR=${X11BASE} \
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
CONFIGURE_ARGS= --prefix=${PREFIX}
CONFIGURE_ENV= QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
CONFIGURE_ARGS= --prefix=${PREFIX} --qtdir=${X11BASE} --disable-kde
MAKE_ARGS+= QTDIR=${X11BASE} \
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++

View File

@ -1,9 +1,49 @@
$FreeBSD$
Hack configure to eat autogenerated qt options and to fix a bashism (type -p).
Hack configure to eat autogenerated qt options, to fix a bashism (type -p),
to avoid using expr, and to do the main Makefile make(1) compatible.
--- configure.orig Wed Dec 10 03:10:03 2003
+++ configure Wed Jan 7 16:30:11 2004
--- configure.orig Wed Dec 10 01:10:03 2003
+++ configure Sat Jan 10 15:52:00 2004
@@ -27,32 +27,32 @@
while [ $# -gt 0 ]; do
case "$1" in
--prefix=*)
- PREFIX=`expr "${1}" : "--prefix=\(.*\)"`
+ PREFIX="${1#--prefix=}"
shift
;;
--bindir=*)
- BINDIR=`expr "${1}" : "--bindir=\(.*\)"`
+ BINDIR="${1#--bindir=}"
shift
;;
--libdir=*)
- LIBDIR=`expr "${1}" : "--libdir=\(.*\)"`
+ LIBDIR="${1#--libdir=}"
shift
;;
--qtdir=*)
- QTDIR=`expr "${1}" : "--qtdir=\(.*\)"`
+ QTDIR="${1#--qtdir=}"
shift
;;
--with-zlib-inc=*)
- QC_WITH_ZLIB_INC=`expr "${1}" : "--with-zlib-inc=\(.*\)"`
+ QC_WITH_ZLIB_INC="${1#--with-zlib-inc=}"
shift
;;
--with-zlib-lib=*)
- QC_WITH_ZLIB_LIB=`expr "${1}" : "--with-zlib-lib=\(.*\)"`
+ QC_WITH_ZLIB_LIB="${1#--with-zlib-lib=}"
shift
;;
@@ -81,6 +81,8 @@
shift
;;
@ -22,3 +62,17 @@ Hack configure to eat autogenerated qt options and to fix a bashism (type -p).
if [ -x "$qm" ]; then
if [ "$QC_DEBUG" = "Y" ]; then
echo qmake found in $qm
@@ -917,13 +919,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\'.