summaryrefslogtreecommitdiff
path: root/sysutils/bacula
diff options
context:
space:
mode:
authorjlam <jlam>2004-12-18 20:58:30 +0000
committerjlam <jlam>2004-12-18 20:58:30 +0000
commit4d802d2f13a1ec76e31b94b467a3c10b2a9e5e84 (patch)
tree29c75ad32b1200e0ae75ec21630bbb85ac1d844d /sysutils/bacula
parentaf062414cae2627214c1a4fad4eb39dd1f2acbfe (diff)
downloadpkgsrc-4d802d2f13a1ec76e31b94b467a3c10b2a9e5e84.tar.gz
Auto-add the PTHREAD_* variables to CFLAGS, LDFLAGS, and LIBS so that
these packages will pick up -lpthread on NetBSD 1.6.x when linking applications.
Diffstat (limited to 'sysutils/bacula')
-rw-r--r--sysutils/bacula/Makefile.common5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysutils/bacula/Makefile.common b/sysutils/bacula/Makefile.common
index b6546e91c8f..1bbf9065758 100644
--- a/sysutils/bacula/Makefile.common
+++ b/sysutils/bacula/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.3 2004/12/14 15:10:15 xtraeme Exp $
+# $NetBSD: Makefile.common,v 1.4 2004/12/18 20:58:30 jlam Exp $
#
DISTNAME= bacula-1.36.0
@@ -53,7 +53,8 @@ BACULA_DB= postgresql
CONFIGURE_ARGS+= --enable-smartalloc
.endif
-PTHREAD_OPTS+= require
+PTHREAD_OPTS+= require
+PTHREAD_AUTO_VARS= yes
PKG_GROUPS= ${BACULA_GROUP}
PKG_USERS= ${BACULA_DIR_USER}:${BACULA_GROUP}