pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/tnftpd nuke PKGNAME (not needed) and SVR4_PKGNAME ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2cb98c09ad45
branches:  trunk
changeset: 465032:2cb98c09ad45
user:      grant <grant%pkgsrc.org@localhost>
date:      Fri Dec 19 21:30:00 2003 +0000

description:
nuke PKGNAME (not needed) and SVR4_PKGNAME (invalid).

use CPPFLAGS.SunOS instead of a conditional.

diffstat:

 net/tnftpd/Makefile |  9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diffs (26 lines):

diff -r 69e4272e4d47 -r 2cb98c09ad45 net/tnftpd/Makefile
--- a/net/tnftpd/Makefile       Fri Dec 19 19:22:28 2003 +0000
+++ b/net/tnftpd/Makefile       Fri Dec 19 21:30:00 2003 +0000
@@ -1,9 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2003/12/18 01:49:05 grant Exp $
+# $NetBSD: Makefile,v 1.6 2003/12/19 21:30:00 grant Exp $
 #
 
 DISTNAME=              tnftpd-20031217
-PKGNAME=               tnftpd-20031217
-SVR4_PKGNAME=          tnftpd
 CATEGORIES=            net
 MASTER_SITES=          ftp://ftp.NetBSD.org/pub/NetBSD/misc/tnftp/
 
@@ -36,9 +34,8 @@
 CONFIGURE_ARGS+=       --disable-ipv6
 .endif
 
-.if ${OPSYS} == "SunOS"
-MAKE_ENV+=             CPPFLAGS=""
-.endif
+OPSYSVARS+=            MAKE_ENV
+MAKE_ENV.SunOS+=       CPPFLAGS=""
 
 EXAMPLEDIR=            ${PREFIX}/share/examples/tnftpd
 



Home | Main Index | Thread Index | Old Index