pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/tnftp use MAKE_ENV.SunOS instead of a conditional.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b48d912748d6
branches:  trunk
changeset: 465010:b48d912748d6
user:      grant <grant%pkgsrc.org@localhost>
date:      Fri Dec 19 12:02:04 2003 +0000

description:
use MAKE_ENV.SunOS instead of a conditional.

diffstat:

 net/tnftp/Makefile |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (20 lines):

diff -r 64a7da28eb4a -r b48d912748d6 net/tnftp/Makefile
--- a/net/tnftp/Makefile        Fri Dec 19 11:59:39 2003 +0000
+++ b/net/tnftp/Makefile        Fri Dec 19 12:02:04 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2003/12/19 10:52:18 agc Exp $
+# $NetBSD: Makefile,v 1.6 2003/12/19 12:02:04 grant Exp $
 #
 
 DISTNAME=              tnftp-20030825
@@ -30,8 +30,7 @@
 CONFIGURE_ARGS+=       --disable-ipv6
 .endif
 
-.if ${OPSYS} == "SunOS"
-MAKE_ENV+=             CPPFLAGS=""
-.endif
+OPSYSVARS+=            MAKE_ENV
+MAKE_ENV.SunOS+=       CPPFLAGS=""
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index