diff options
author | jmmv <jmmv> | 2004-10-17 20:12:06 +0000 |
---|---|---|
committer | jmmv <jmmv> | 2004-10-17 20:12:06 +0000 |
commit | aa7a43b73a1aaa9ba0d53e5dfb225b94ae0cdf69 (patch) | |
tree | 995a2a3f85a77ef8beb21ecaa0e4615ab569c0dc /sysutils/fam | |
parent | 6fa3286e3f2443598811e43d2aa15c0b80306038 (diff) | |
download | pkgsrc-aa7a43b73a1aaa9ba0d53e5dfb225b94ae0cdf69.tar.gz |
When enabling kqueue, only link famd against -lpthread, not everything.
Diffstat (limited to 'sysutils/fam')
-rw-r--r-- | sysutils/fam/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sysutils/fam/Makefile b/sysutils/fam/Makefile index 2e1c8ab1b22..bff1fc99522 100644 --- a/sysutils/fam/Makefile +++ b/sysutils/fam/Makefile @@ -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 @@ PKG_SUPPORTED_OPTIONS= kqueue .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 |