diff options
author | jperkin <jperkin@pkgsrc.org> | 2016-02-26 10:24:10 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2016-02-26 10:24:10 +0000 |
commit | c049a2ca48d1150abe59446f3082ca4116323bc6 (patch) | |
tree | 0296198370532d82efd6efd523c7ca1570359f37 /sysutils/fam | |
parent | 0538ec5b33e56381337ee00b1bb6243bc3bc3c7a (diff) | |
download | pkgsrc-c049a2ca48d1150abe59446f3082ca4116323bc6.tar.gz |
Use OPSYSVARS.
Diffstat (limited to 'sysutils/fam')
-rw-r--r-- | sysutils/fam/Makefile | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/sysutils/fam/Makefile b/sysutils/fam/Makefile index e0e0952b2e0..5a6792529af 100644 --- a/sysutils/fam/Makefile +++ b/sysutils/fam/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.40 2014/10/09 14:06:57 wiz Exp $ +# $NetBSD: Makefile,v 1.41 2016/02/26 10:24:12 jperkin Exp $ # DISTNAME= fam-2.7.0 @@ -58,9 +58,7 @@ MESSAGE_SRC= ${.CURDIR}/MESSAGE ${.CURDIR}/MESSAGE.kqueue CPPFLAGS.Darwin+= -DNDEBUG LDFLAGS.SunOS+= -lsocket -lnsl -.if ${OPSYS} == "SunOS" - -SUBST_CLASSES+= sunfix +SUBST_CLASSES.SunOS+= sunfix SUBST_MESSAGE.sunfix= Fixing ${OPSYS} namespace collision. SUBST_STAGE.sunfix= pre-configure SUBST_FILES.sunfix+= lib/Client.c++ @@ -70,7 +68,7 @@ SUBST_FILES.sunfix+= src/Listener.c++ SUBST_FILES.sunfix+= src/TCP_Client.h SUBST_SED.sunfix= -e 's/sun\([^_]\)/sa_un\1/g' -SUBST_CLASSES+= dirent +SUBST_CLASSES.SunOS+= dirent SUBST_MESSAGE.dirent= Fixing old sys/dir.h usage. SUBST_STAGE.dirent= pre-configure SUBST_FILES.dirent+= src/Directory.c++ @@ -84,8 +82,6 @@ SUBST_SED.dirent+= -e 's/struct direct/struct dirent/g' BUILDLINK_TRANSFORM+= rm:-lstdc++ .endif -.endif - post-extract: ${CP} ${FILESDIR}/IMonKQueue.c++ ${WRKSRC}/src ${CP} ${FILESDIR}/imon-compat.h ${WRKSRC}/src |