$OpenBSD: patch-src_Makefile_in,v 1.2 2010/07/29 06:31:15 sebastia Exp $

Do not use the hardcoded make
Get rid of GCC parameters that gcc-2.95 does not know of

--- src/Makefile.in.orig	Sat Oct 31 15:06:35 2009
+++ src/Makefile.in	Tue Jul 27 10:37:30 2010
@@ -284,9 +284,9 @@ top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
 SUBDIRS = . $(MAYBE_TESTS) $(MAYBE_EXAMPLES)
 DIST_SUBDIRS = . tests examples
-AM_CPPFLAGS = -Wall -pedantic -pipe -W -Wfloat-equal -Wcast-align -Wsign-compare -Wpointer-arith \
+AM_CPPFLAGS = -Wall -pedantic -pipe -W -Wcast-align -Wsign-compare -Wpointer-arith \
                 -Wswitch -Wunknown-pragmas -Wconversion -Wundef -Wcast-qual \
-                -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wno-long-long
+                -Wwrite-strings -Wformat-security -Wno-long-long
 
 lib_LTLIBRARIES = libgloox.la
 libgloox_la_SOURCES = jid.cpp parser.cpp connectiontcpclient.cpp clientbase.cpp tag.cpp stanza.cpp logsink.cpp \
@@ -914,12 +914,12 @@ uninstall-am: uninstall-libLTLIBRARIES \
 
 
 test:
-	make -C tests test
+	${MAKE_PROGRAM} -C tests test
 
 check: test
 
 leaktest:
-	make -C tests leaktest
+	${MAKE_PROGRAM} -C tests leaktest
 
 leakcheck: leaktest
 
