summaryrefslogtreecommitdiff
path: root/net-im/psi/files/patch-configure
blob: 96858299ad19a0ece41673f6d0b945d6e0d842e8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$FreeBSD$

Hack configure to eat autogenerated qt options
and to do the main Makefile make(1) compatible.

--- configure.orig	Fri Jun 11 13:49:06 2004
+++ configure	Fri Jun 11 14:25:01 2004
@@ -82,6 +82,8 @@
 			shift
 			;;
 		--help) show_usage; exit ;;
+		--with-*)
+			shift ;;
 		*) show_usage; exit ;;
 	esac
 done
@@ -1035,14 +1037,6 @@
 	echo
 	exit 1;
 fi
-cat >Makefile.tmp <<EOT
-export QTDIR = $QTDIR
-export PATH = $QTDIR/bin:$PATH
-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\'.