pkgsrc/devel/poco/patches/patch-ah

19 lines
683 B
Text
Raw Normal View History

$NetBSD: patch-ah,v 1.1.1.1 2011/02/06 05:55:15 schnoebe Exp $
# simplify the search for the MySQL components, since we know
# where they are..
--- Data/MySQL/Makefile.orig 2009-05-12 13:22:14.000000000 -0500
+++ Data/MySQL/Makefile
@@ -8,8 +8,8 @@
include $(POCO_BASE)/build/rules/global
-SYSLIBS += -L/usr/local/lib/mysql -L/usr/lib/mysql -L/usr/mysql/lib/mysql -L/usr/local/mysql/lib -lmysqlclient
-INCLUDE += -I/usr/local/include/mysql/ -I/usr/include/mysql -I/usr/mysql/include/mysql -I/usr/local/mysql/include
+SYSLIBS += -L@MYSQLLIBDIR@ -lmysqlclient
+INCLUDE += -I@MYSQLINCDIR@
SYSFLAGS += -DTHREADSAFE -DNO_TCL
objects = Binder Extractor SessionImpl Connector \