Add -pthread to the pkg-config files, bump PKGNAME. From Andreas Kahari.

This commit is contained in:
sthen 2009-12-09 20:36:49 +00:00
parent d67b900eff
commit 9df8d3022f
4 changed files with 18 additions and 8 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.18 2009/08/10 06:31:07 kili Exp $
# $OpenBSD: Makefile,v 1.19 2009/12/09 20:36:49 sthen Exp $
COMMENT-main= ODBC 3.x driver manager
COMMENT-admin= ODBC 3.x driver manager admin application
@ -7,7 +7,7 @@ V= 3.52.6
DISTNAME= libiodbc-$V
PKGNAME= iodbc-$V
PKGNAME-main= iodbc-$V
PKGNAME-main= iodbc-$Vp0
PKGNAME-admin= iodbc-admin-$Vp0
CATEGORIES= databases

View File

@ -1,10 +1,10 @@
$OpenBSD: patch-admin_libiodbc_pc_in,v 1.1 2009/07/17 10:45:05 sthen Exp $
--- admin/libiodbc.pc.in.orig Mon Jul 6 11:34:03 2009
+++ admin/libiodbc.pc.in Mon Jul 6 11:34:18 2009
$OpenBSD: patch-admin_libiodbc_pc_in,v 1.2 2009/12/09 20:36:49 sthen Exp $
--- admin/libiodbc.pc.in.orig Mon Jan 23 10:29:22 2006
+++ admin/libiodbc.pc.in Mon Dec 7 11:03:55 2009
@@ -88,5 +88,5 @@ Name: iODBC
Description: @PACKAGE_NAME@
Version: @PACKAGE_VERSION@
Requires:
-Libs: -L${libdir} -liodbc -liodbcinst -ldl
+Libs: -L${libdir} -liodbc -liodbcinst
+Libs: -L${libdir} -liodbc -liodbcinst -pthread
Cflags: -I${includedir}

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.37 2008/07/01 09:43:19 landry Exp $
# $OpenBSD: Makefile,v 1.38 2009/12/09 20:36:49 sthen Exp $
# $FreeBSD: Makefile,v 1.4 1999/01/10 20:12:06 steve Exp $
COMMENT-main= garbage collection and memory leak detection for C and C++
@ -7,7 +7,7 @@ COMMENT-atomic= access to hardware provided atomic memory operations
VERSION= 7.0
DISTNAME= gc-${VERSION}
PKGNAME-atomic= libatomic_ops-1.2
PKGNAME-main= boehm-gc-${VERSION}p1
PKGNAME-main= boehm-gc-${VERSION}p2
MULTI_PACKAGES= -main -atomic

View File

@ -0,0 +1,10 @@
$OpenBSD: patch-bdw-gc_pc_in,v 1.1 2009/12/09 20:36:49 sthen Exp $
--- bdw-gc.pc.in.orig Mon Dec 7 10:57:34 2009
+++ bdw-gc.pc.in Mon Dec 7 10:57:46 2009
@@ -6,5 +6,5 @@ includedir=@includedir@
Name: Boehm-Demers-Weiser Conservative Garbage Collector
Description: A garbage collector for C and C++
Version: @PACKAGE_VERSION@
-Libs: -L${libdir} -lgc
+Libs: -L${libdir} -lgc -pthread
Cflags: -I${includedir}