From 5c208667edb6c856b6f82a05473496556556f8fd Mon Sep 17 00:00:00 2001 From: landry Date: Sun, 21 Nov 2010 09:33:27 +0000 Subject: [PATCH] Fix after proj update: add -pthread to LDFLAGS. --- geo/postgis/Makefile | 4 ++-- geo/qlandkarte/Makefile | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/geo/postgis/Makefile b/geo/postgis/Makefile index 4bbb9c53210..112371436b8 100644 --- a/geo/postgis/Makefile +++ b/geo/postgis/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2010/11/17 08:05:12 espie Exp $ +# $OpenBSD: Makefile,v 1.9 2010/11/21 09:33:56 landry Exp $ SHARED_ONLY= Yes @@ -31,7 +31,7 @@ BUILD_DEPENDS= ${RUN_DEPENDS} USE_GMAKE= Yes CONFIGURE_ENV= PGXS=1 \ - LDFLAGS=-L${LOCALBASE}/lib \ + LDFLAGS='-L${LOCALBASE}/lib -pthread' \ CFLAGS=-I${LOCALBASE}/include CONFIGURE_STYLE=gnu CONFIGURE_ARGS= --datadir=${PREFIX}/share/postgresql/contrib \ diff --git a/geo/qlandkarte/Makefile b/geo/qlandkarte/Makefile index a4fab48123d..5ae461cd720 100644 --- a/geo/qlandkarte/Makefile +++ b/geo/qlandkarte/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.17 2010/11/17 08:05:12 espie Exp $ +# $OpenBSD: Makefile,v 1.18 2010/11/21 09:33:27 landry Exp $ COMMENT= garmin gps map management tool @@ -36,6 +36,7 @@ PORTHOME= ${WRKDIR} NO_REGRESS= Yes AUTOCONF_VERSION=2.59 CONFIGURE_STYLE= autoconf gnu +CONFIGURE_ENV+= 'LDFLAGS=-pthread' CONFIGURE_ARGS= --with-qt-dir=${LOCALBASE}/lib/qt4 \ --with-extra-libs=${LOCALBASE}/lib \ --with-extra-includes=${LOCALBASE}/include \