Fix after proj update: add -pthread to LDFLAGS.

This commit is contained in:
landry 2010-11-21 09:33:27 +00:00
parent 1a9c2bc578
commit 5c208667ed
2 changed files with 4 additions and 3 deletions

View File

@ -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 \

View File

@ -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 \