pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/fam When enabling kqueue, only link famd agai...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6688080def68
branches: trunk
changeset: 482011:6688080def68
user: jmmv <jmmv%pkgsrc.org@localhost>
date: Sun Oct 17 20:12:06 2004 +0000
description:
When enabling kqueue, only link famd against -lpthread, not everything.
diffstat:
sysutils/fam/Makefile | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (26 lines):
diff -r 071b6d80849f -r 6688080def68 sysutils/fam/Makefile
--- a/sysutils/fam/Makefile Sun Oct 17 19:21:55 2004 +0000
+++ b/sysutils/fam/Makefile Sun Oct 17 20:12:06 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2004/10/17 19:20:53 jmmv Exp $
+# $NetBSD: Makefile,v 1.19 2004/10/17 20:12:06 jmmv Exp $
#
DISTNAME= fam-2.7.0
@@ -41,13 +41,13 @@
.if !empty(PKG_OPTIONS:Mkqueue) && ${OPSYS} == "NetBSD"
CPPFLAGS+= -DHAVE_KQUEUE
-LIBS+= -lpthread
SUBST_CLASSES+= kqueue
SUBST_MESSAGE.kqueue= "Enabling kqueue monitoring."
SUBST_STAGE.kqueue= pre-configure
-SUBST_FILES.kqueue= configure
-SUBST_SED.kqueue= -e 's,IMonNone,IMonKQueue,g'
+SUBST_FILES.kqueue= src/Makefile.in
+SUBST_SED.kqueue= -e 's,@MONITOR_FUNCS@,IMonKQueue,g'
+SUBST_SED.kqueue+= -e 's,@LIBS@,@LIBS@ -lpthread,g'
MESSAGE_SRC= ${.CURDIR}/MESSAGE ${.CURDIR}/MESSAGE.kqueue
Home |
Main Index |
Thread Index |
Old Index