summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-12-18 20:58:30 +0000
committerjlam <jlam@pkgsrc.org>2004-12-18 20:58:30 +0000
commit230d981c72d395ca6953fcb199e4512411132cf6 (patch)
tree29c75ad32b1200e0ae75ec21630bbb85ac1d844d /sysutils
parent68afe3f3c382f3e6d504a1ac31eb37ed3dd1993e (diff)
downloadpkgsrc-230d981c72d395ca6953fcb199e4512411132cf6.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')
-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}