diff options
author | joerg <joerg@pkgsrc.org> | 2014-08-19 13:31:24 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2014-08-19 13:31:24 +0000 |
commit | ef68d89378a89fc59605e6d97dfbeeda7f114163 (patch) | |
tree | b96c06e3ee61f5454bb1470b874fd7c950bc2a9f /databases/postgresql90 | |
parent | 53971e8ca0dcc3ae0d23e93d72814a96ad4f429e (diff) | |
download | pkgsrc-ef68d89378a89fc59605e6d97dfbeeda7f114163.tar.gz |
Override configure logic for pthread linkage. It fails with clang 3.5+
Diffstat (limited to 'databases/postgresql90')
-rw-r--r-- | databases/postgresql90/Makefile.common | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/databases/postgresql90/Makefile.common b/databases/postgresql90/Makefile.common index c3954f69862..bc4c94f8c95 100644 --- a/databases/postgresql90/Makefile.common +++ b/databases/postgresql90/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.31 2014/07/25 22:14:55 adam Exp $ +# $NetBSD: Makefile.common,v 1.32 2014/08/19 13:31:24 joerg Exp $ # # used by databases/postgresql90-adminpack/Makefile # used by databases/postgresql90-client/Makefile @@ -104,6 +104,9 @@ USE_LIBLTDL?= no .include "../../devel/gettext-lib/buildlink3.mk" LIBS.SunOS+= -lintl +.include "../../mk/pthread.buildlink3.mk" +CONFIGURE_FLAGS+= acx_pthread_flags="${PTHREAD_LIBS} ${PTHREAD_LDFLAGS}" + .if !defined(META_PACKAGE) post-extract: . if !empty(USE_LIBLTDL:M[yY][eE][sS]) |