summaryrefslogtreecommitdiff
path: root/misc/jitterbug
diff options
context:
space:
mode:
authorwennmach <wennmach>2000-01-06 17:02:47 +0000
committerwennmach <wennmach>2000-01-06 17:02:47 +0000
commit1caa34accdcf0a77ab3e3b5e8c68343c2471a8b1 (patch)
tree10543919b88bf290350c3567d030181a6b964844 /misc/jitterbug
parent9af99bdfdb6c3525954513950cfb364453e004e3 (diff)
downloadpkgsrc-1caa34accdcf0a77ab3e3b5e8c68343c2471a8b1.tar.gz
Make this Makefile work again.
A block of garbage was imported by someone in version 1.6 and somebody else removed the wrong pieces in version 1.7. And if someone (or somebody else) wants to replace awk by ${AWK}, please test thoroughly before committing. Thomas Klausner (wiz@netbsd.org) pointed me to this broken Makefile.
Diffstat (limited to 'misc/jitterbug')
-rw-r--r--misc/jitterbug/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/misc/jitterbug/Makefile b/misc/jitterbug/Makefile
index c2d6e18d81c..c42f8fa29a5 100644
--- a/misc/jitterbug/Makefile
+++ b/misc/jitterbug/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 1999/12/20 05:31:05 sakamoto Exp $
+# $NetBSD: Makefile,v 1.9 2000/01/06 17:02:47 wennmach Exp $
DISTNAME= jitterbug-1.6.2
WRKSRC= ${WRKDIR}/${PKGNAME}/source
@@ -42,8 +42,7 @@ JB_CONFIGDIR= ${JB_USER}/config
JB_LOCALMAIL?= ${JB_PACKAGE}-bugs
.if !defined(JB_FQHOSTNAME)
-JB_HOSTNAME!= /bin/hostname
-JB_FQHOSTNAME!= ${NSLOOKUP} ${JB_HOSTNAME} | ${AWK} '/^Name: / { print $$2; exit }'
+JB_FQHOSTNAME!= (${HOSTCMD} `/bin/hostname` 2>/dev/null || echo totally.unknown.domain) | /usr/bin/awk '{ print $$1; exit }'
.endif
JB_EMAIL?= ${JB_LOCALMAIL}@${JB_FQHOSTNAME}