aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql84-server
diff options
context:
space:
mode:
authorPalle Girgensohn <girgen@FreeBSD.org>2014-11-12 09:53:41 +0000
committerPalle Girgensohn <girgen@FreeBSD.org>2014-11-12 09:53:41 +0000
commit987b035d6773430b7bf78c56621e233b2b25bf21 (patch)
treec0cccd17c0a5c57ef5ca99edd21dd168290daaf5 /databases/postgresql84-server
parent9107047285d397d9a1e6ab611bbfcb6b1c6c4262 (diff)
downloadports-987b035d6773430b7bf78c56621e233b2b25bf21.tar.gz
ports-987b035d6773430b7bf78c56621e233b2b25bf21.zip
Revert r247147.
We need -pthread in LDFLAGS for threaded extensions like plv8js to work. PR: 175783 Submitted by: Li-Wen Hsu <lwhsu@FreeBSD.org>
Notes
Notes: svn path=/head/; revision=372487
Diffstat (limited to 'databases/postgresql84-server')
-rw-r--r--databases/postgresql84-server/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/databases/postgresql84-server/Makefile b/databases/postgresql84-server/Makefile
index 3a2cfae923ca..cc10504f868e 100644
--- a/databases/postgresql84-server/Makefile
+++ b/databases/postgresql84-server/Makefile
@@ -3,7 +3,7 @@
PORTNAME?= postgresql
DISTVERSION?= 8.4.22
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES?= databases
MASTER_SITES= PGSQL
MASTER_SITE_SUBDIR= source/v${DISTVERSION}
@@ -44,6 +44,8 @@ CONFIGURE_ENV+= INCLUDES="${INCLUDES}" \
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \
LDFLAGS_SL="${LDFLAGS_SL}"
+CFLAGS+= ${PTHREAD_CFLAGS}
+LDFLAGS+= ${PTHREAD_LIBS}
PLIST= ${PKGDIR}/pkg-plist${COMPONENT}