diff options
author | jperkin <jperkin@pkgsrc.org> | 2016-02-25 16:20:49 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2016-02-25 16:20:49 +0000 |
commit | c38a63e5d4278b3cbf0ab593b165910762a1d371 (patch) | |
tree | 97af6be06b9ddcb0ed7c9f9c32a4c4f218021b96 /news/nn | |
parent | e928cf546372a3d49dac11dbc2bddc9216e4dc5c (diff) | |
download | pkgsrc-c38a63e5d4278b3cbf0ab593b165910762a1d371.tar.gz |
Use OPSYSVARS.
Diffstat (limited to 'news/nn')
-rw-r--r-- | news/nn/Makefile | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/news/nn/Makefile b/news/nn/Makefile index e13c60f433b..f7e0c9238b8 100644 --- a/news/nn/Makefile +++ b/news/nn/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.47 2016/01/24 16:14:45 jperkin Exp $ +# $NetBSD: Makefile,v 1.48 2016/02/25 16:30:31 jperkin Exp $ DISTNAME= nn-6.7.3 PKGREVISION= 4 @@ -14,16 +14,14 @@ PKG_SYSCONFSUBDIR= nntp TOOL_DEPENDS+= tradcpp-[0-9]*:../../devel/tradcpp -.include "../../mk/bsd.prefs.mk" -.include "../../mk/compiler.mk" +CPPFLAGS.IRIX+= -DHAVE_TERMIO_H -.if ${OPSYS} == "SunOS" -SFILE= s-sunos5.h -.elif ${OPSYS} == "Linux" -SFILE= s-linux.h -.else -SFILE= s-netbsd.h -.endif +OPSYSVARS+= SFILE +SFILE.SunOS= s-sunos5.h +SFILE.Linux= s-linux.h +SFILE.*= s-netbsd.h + +.include "../../mk/bsd.prefs.mk" .if ${MACHINE_ARCH} == "i386" MFILE= m-i80386.h @@ -33,10 +31,6 @@ MFILE= m-mipsel.h MFILE= m-${MACHINE_ARCH}.h .endif -.if ${OPSYS} == "IRIX" -CPPFLAGS+= -DHAVE_TERMIO_H -.endif - INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man8 post-patch: |