| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.45 2023/08/30 17:56:20 vins Exp $ | | 1 | # $NetBSD: Makefile,v 1.46 2023/09/02 15:26:58 vins Exp $ |
2 | | | 2 | |
3 | DISTNAME= fam-2.7.0 | | 3 | DISTNAME= fam-2.7.0 |
4 | PKGREVISION= 9 | | 4 | PKGREVISION= 9 |
5 | CATEGORIES= sysutils devel | | 5 | CATEGORIES= sysutils devel |
6 | #MASTER_SITES= ftp://oss.sgi.com/projects/fam/download/stable/ | | 6 | #MASTER_SITES= ftp://oss.sgi.com/projects/fam/download/stable/ |
7 | MASTER_SITES+= ${MASTER_SITE_GENTOO:=distfiles/} | | 7 | MASTER_SITES+= ${MASTER_SITE_GENTOO:=distfiles/} |
8 | | | 8 | |
9 | CONFLICTS+= gamin-[0-9]* | | 9 | CONFLICTS+= gamin-[0-9]* |
10 | | | 10 | |
11 | MAINTAINER= pkgsrc-users@NetBSD.org | | 11 | MAINTAINER= pkgsrc-users@NetBSD.org |
12 | #HOMEPAGE= http://oss.sgi.com/projects/fam/ | | 12 | #HOMEPAGE= http://oss.sgi.com/projects/fam/ |
13 | COMMENT= File Alteration Monitor | | 13 | COMMENT= File Alteration Monitor |
14 | LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1 # fam and libfam | | 14 | LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1 # fam and libfam |
| @@ -45,29 +45,27 @@ CPPFLAGS+= -DHAVE_KQUEUE | | | @@ -45,29 +45,27 @@ CPPFLAGS+= -DHAVE_KQUEUE |
45 | SUBST_CLASSES+= kqueue | | 45 | SUBST_CLASSES+= kqueue |
46 | SUBST_MESSAGE.kqueue= Enabling kqueue monitoring. | | 46 | SUBST_MESSAGE.kqueue= Enabling kqueue monitoring. |
47 | SUBST_STAGE.kqueue= pre-configure | | 47 | SUBST_STAGE.kqueue= pre-configure |
48 | SUBST_FILES.kqueue= src/Makefile.in | | 48 | SUBST_FILES.kqueue= src/Makefile.in |
49 | SUBST_SED.kqueue= -e 's,@MONITOR_FUNCS@,IMonKQueue,g' | | 49 | SUBST_SED.kqueue= -e 's,@MONITOR_FUNCS@,IMonKQueue,g' |
50 | SUBST_SED.kqueue+= -e 's,@LIBS@,@LIBS@ -lpthread,g' | | 50 | SUBST_SED.kqueue+= -e 's,@LIBS@,@LIBS@ -lpthread,g' |
51 | | | 51 | |
52 | MESSAGE_SRC= ${.CURDIR}/MESSAGE ${.CURDIR}/MESSAGE.kqueue | | 52 | MESSAGE_SRC= ${.CURDIR}/MESSAGE ${.CURDIR}/MESSAGE.kqueue |
53 | | | 53 | |
54 | .include "../../mk/pthread.buildlink3.mk" | | 54 | .include "../../mk/pthread.buildlink3.mk" |
55 | .endif | | 55 | .endif |
56 | | | 56 | |
57 | .if ${OPSYS} == "Linux" | | 57 | .if ${OPSYS} == "Linux" |
58 | CPPFLAGS+= -I${PREFIX}/include/tirpc | | 58 | # glibc lacks RPC support. |
59 | MAKEFLAGS+= LDFLAGS="${LDFLAGS} -ltirpc" | | | |
60 | | | | |
61 | .include "../../devel/libtirpc/buildlink3.mk" | | 59 | .include "../../devel/libtirpc/buildlink3.mk" |
62 | .endif | | 60 | .endif |
63 | | | 61 | |
64 | CPPFLAGS.Darwin+= -DNDEBUG | | 62 | CPPFLAGS.Darwin+= -DNDEBUG |
65 | LDFLAGS.SunOS+= -lsocket -lnsl | | 63 | LDFLAGS.SunOS+= -lsocket -lnsl |
66 | | | 64 | |
67 | SUBST_CLASSES.SunOS+= sunfix | | 65 | SUBST_CLASSES.SunOS+= sunfix |
68 | SUBST_MESSAGE.sunfix= Fixing ${OPSYS} namespace collision. | | 66 | SUBST_MESSAGE.sunfix= Fixing ${OPSYS} namespace collision. |
69 | SUBST_STAGE.sunfix= pre-configure | | 67 | SUBST_STAGE.sunfix= pre-configure |
70 | SUBST_FILES.sunfix+= lib/Client.c++ | | 68 | SUBST_FILES.sunfix+= lib/Client.c++ |
71 | SUBST_FILES.sunfix+= src/ClientConnection.c++ src/ClientConnection.h | | 69 | SUBST_FILES.sunfix+= src/ClientConnection.c++ src/ClientConnection.h |
72 | SUBST_FILES.sunfix+= src/LocalClient.c++ src/LocalClient.h | | 70 | SUBST_FILES.sunfix+= src/LocalClient.c++ src/LocalClient.h |
73 | SUBST_FILES.sunfix+= src/Listener.c++ | | 71 | SUBST_FILES.sunfix+= src/Listener.c++ |