summaryrefslogtreecommitdiff
path: root/net/netname
diff options
context:
space:
mode:
Diffstat (limited to 'net/netname')
-rw-r--r--net/netname/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/net/netname/Makefile b/net/netname/Makefile
index 9d5b2f6ff52..04c51b54cc5 100644
--- a/net/netname/Makefile
+++ b/net/netname/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2013/03/14 14:20:58 kim Exp $
+# $NetBSD: Makefile,v 1.16 2016/02/25 16:20:52 jperkin Exp $
#
DISTNAME= netname-2.2
@@ -8,13 +8,9 @@ MASTER_SITES= http://oss.gw.com/people/kim/
MAINTAINER= kim@tac.nyc.ny.us
COMMENT= Return the canonical network name of a host
-.include "../../mk/bsd.prefs.mk"
+BUILD_TARGET.SunOS= svr4
+BUILD_TARGET.*= netname
-.if ${OPSYS} == "SunOS"
-BUILD_TARGET= svr4
-.else
-BUILD_TARGET= netname
-.endif
INSTALL_TARGET= inst-all
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1