openbsd-ports/databases/postgresql/patches/patch-src_interfaces_libpq_Makefile

15 lines
575 B
Plaintext
Raw Normal View History

$OpenBSD: patch-src_interfaces_libpq_Makefile,v 1.7 2010/11/08 14:12:24 pea Exp $
--- src/interfaces/libpq/Makefile.orig Fri Aug 28 22:26:19 2009
+++ src/interfaces/libpq/Makefile Mon Dec 28 11:11:34 2009
@@ -16,8 +16,8 @@ include $(top_builddir)/src/Makefile.global
2006-01-07 06:11:17 -05:00
# shared library parameters
NAME= pq
-SO_MAJOR_VERSION= 5
-SO_MINOR_VERSION= 3
2006-01-07 06:11:17 -05:00
+SO_MAJOR_VERSION= ${LIBpq_MAJOR}
+SO_MINOR_VERSION= ${LIBpq_MINOR}
override CPPFLAGS := -DFRONTEND -DUNSAFE_STAT_OK -I$(srcdir) $(CPPFLAGS) -I$(top_builddir)/src/port -I$(top_srcdir)/src/port
ifneq ($(PORTNAME), win32)