$OpenBSD: patch-php-ext_Makefile_in,v 1.9 2010/08/22 10:13:27 ajacoutot Exp $
--- php-ext/Makefile.in.orig	Tue Aug  3 11:42:58 2010
+++ php-ext/Makefile.in	Sun Aug 22 10:22:53 2010
@@ -223,7 +223,7 @@ build_cpu = @build_cpu@
 build_os = @build_os@
 build_vendor = @build_vendor@
 builddir = @builddir@
-datadir = ${datarootdir}/php/mapi
+datadir = /var/www/include/php/mapi
 datarootdir = @datarootdir@
 docdir = @docdir@
 dvidir = @dvidir@
@@ -270,7 +270,7 @@ mapi_la_LDFLAGS = -module -avoid-version \
 	${top_builddir}/common/libcommon_util.la \
 	${top_builddir}/libfreebusy/libfreebusy.la \
 	${top_builddir}/inetmapi/libinetmapi.la \
-	$(PROG_LIBS) -lpthread
+	$(PROG_LIBS) -pthread
 
 
 # it seems linking libraries with -pthread will not contain -lpthread.
@@ -553,7 +553,7 @@ install-data-am: install-dist_dataDATA
 
 install-dvi: install-dvi-am
 
-install-exec-am: install-dist_sysconfDATA install-libLTLIBRARIES
+install-exec-am: install-libLTLIBRARIES
 
 install-html: install-html-am
 
