openbsd-ports/net/poco/patches/patch-Data_ODBC_Makefile
sebastia ca6ddd823f Import poco
POCO C++ libraries for network based applications

C++ class libraries for network-centric, portable applications, 
integrated perfectly with the C++ Standard Library. Includes 
network protocols (Sockets, HTTP, FTP, SMTP, POP3, etc.) and an 
XML parser.

With a lot of feedback from landry@ 
Finally OK from dcoppa@
2010-07-28 18:13:00 +00:00

16 lines
594 B
Plaintext

$OpenBSD: patch-Data_ODBC_Makefile,v 1.1.1.1 2010/07/28 18:13:01 sebastia Exp $
We have versions on the shared libraries
--- Data/ODBC/Makefile.orig Fri Jan 15 13:13:38 2010
+++ Data/ODBC/Makefile Mon Jul 26 09:42:35 2010
@@ -32,7 +32,7 @@ ifeq (0, $(shell test -h $(ODBCLIBDIR)/libodbc$(SHARED
SYSLIBS += -lodbc -lodbcinst
COMMONFLAGS += -DPOCO_UNIXODBC
else
-ifeq (0, $(shell test -e $(ODBCLIBDIR)/libiodbc$(SHAREDLIBLINKEXT); echo $$?))
+ifeq (0, $(shell test -e $(ODBCLIBDIR)/libiodbc$(SHAREDLIBLINKEXT).*; echo $$?))
SYSLIBS += -liodbc -liodbcinst
COMMONFLAGS += -DPOCO_IODBC
else